Module Name:    src
Committed By:   pooka
Date:           Sat Apr 27 15:32:37 UTC 2013

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

Log Message:
Let the includer figure out where to get stdint or equivalent from.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 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.79 src/sys/rump/include/rump/rumpuser.h:1.80
--- src/sys/rump/include/rump/rumpuser.h:1.79	Sat Apr 27 15:01:21 2013
+++ src/sys/rump/include/rump/rumpuser.h	Sat Apr 27 15:32:36 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpuser.h,v 1.79 2013/04/27 15:01:21 pooka Exp $	*/
+/*	$NetBSD: rumpuser.h,v 1.80 2013/04/27 15:32:36 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -28,16 +28,15 @@
 #ifndef _RUMP_RUMPUSER_H_
 #define _RUMP_RUMPUSER_H_
 
+/*
+ * Do not include any headers here!  Implementation must take care of
+ * having stdint or equivalent included before including this header.
+ */
+
 #if !defined(_KERNEL) && !defined(LIBRUMPUSER)
 #error The rump/rumpuser.h interface is not for non-kernel consumers
 #endif
 
-#ifdef _KERNEL
-#include <sys/stdint.h>
-#else
-#include <stdint.h>
-#endif
-
 #define RUMPUSER_VERSION 16
 
 int rumpuser_daemonize_begin(void);

Reply via email to