Module Name:    src
Committed By:   pooka
Date:           Mon Sep 21 15:29:36 UTC 2009

Modified Files:
        src/sys/rump/include/rump: rumpuser.h

Log Message:
<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.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/rump/include/rump/rumpuser.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/include/rump/rumpuser.h
diff -u src/sys/rump/include/rump/rumpuser.h:1.25 src/sys/rump/include/rump/rumpuser.h:1.26
--- src/sys/rump/include/rump/rumpuser.h:1.25	Wed Sep  2 19:02:51 2009
+++ src/sys/rump/include/rump/rumpuser.h	Mon Sep 21 15:29:36 2009
@@ -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;

Reply via email to