Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/rump <sys/stdint.h> is a non-standard heade...
details: https://anonhg.NetBSD.org/src/rev/2ec7d25f3452
branches: trunk
changeset: 747571:2ec7d25f3452
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Sep 21 15:29:36 2009 +0000
description:
<sys/stdint.h> is a non-standard header, so include it only from
kernel code (where it will be included from the NetBSD kernel source
tree). Use <stdint.h> in userland namespace, i.e. when compiling
librumpuser.
diffstat:
sys/rump/include/rump/rumpuser.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 414b4dbc567a -r 2ec7d25f3452 sys/rump/include/rump/rumpuser.h
--- a/sys/rump/include/rump/rumpuser.h Mon Sep 21 14:13:35 2009 +0000
+++ b/sys/rump/include/rump/rumpuser.h Mon Sep 21 15:29:36 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser.h,v 1.25 2009/09/02 19:02:51 pooka Exp $ */
+/* $NetBSD: rumpuser.h,v 1.26 2009/09/21 15:29:36 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,11 @@
#ifndef _RUMP_RUMPUSER_H_
#define _RUMP_RUMPUSER_H_
+#ifdef _KERNEL
#include <sys/stdint.h>
+#else
+#include <stdint.h>
+#endif
struct msghdr;
struct pollfd;
Home |
Main Index |
Thread Index |
Old Index