Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser One more thing required by DragonFly



details:   https://anonhg.NetBSD.org/src/rev/f32d1c277dad
branches:  trunk
changeset: 782926:f32d1c277dad
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Nov 26 19:57:24 2012 +0000

description:
One more thing required by DragonFly

diffstat:

 lib/librumpuser/rumpuser_port.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 3bf65d5a2c74 -r f32d1c277dad lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h   Mon Nov 26 19:53:41 2012 +0000
+++ b/lib/librumpuser/rumpuser_port.h   Mon Nov 26 19:57:24 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpuser_port.h,v 1.8 2012/11/26 17:03:15 pooka Exp $  */
+/*     $NetBSD: rumpuser_port.h,v 1.9 2012/11/26 19:57:24 pooka Exp $  */
 
 /*
  * Portability header for non-NetBSD platforms.
@@ -49,7 +49,9 @@
 #include <sys/types.h>
 #include <sys/param.h>
 
-#if defined(__linux__) || defined(__sun__) || defined(__FreeBSD__)
+/* maybe this should be !__NetBSD__ ? */
+#if defined(__linux__) || defined(__sun__) || defined(__FreeBSD__)     \
+    defined(__DragonFly__)
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index