Module Name: src
Committed By: pooka
Date: Mon Nov 26 19:57:25 UTC 2012
Modified Files:
src/lib/librumpuser: rumpuser_port.h
Log Message:
One more thing required by DragonFly
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/rumpuser_port.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librumpuser/rumpuser_port.h
diff -u src/lib/librumpuser/rumpuser_port.h:1.8 src/lib/librumpuser/rumpuser_port.h:1.9
--- src/lib/librumpuser/rumpuser_port.h:1.8 Mon Nov 26 17:03:15 2012
+++ src/lib/librumpuser/rumpuser_port.h Mon Nov 26 19:57:24 2012
@@ -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>