Module Name:    src
Committed By:   pooka
Date:           Thu Jan 17 21:42:23 UTC 2013

Modified Files:
        src/lib/librumpuser: rumpuser_port.h

Log Message:
Include sys/sysmacros.h on solaris for MIN/MAX.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 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.11 src/lib/librumpuser/rumpuser_port.h:1.12
--- src/lib/librumpuser/rumpuser_port.h:1.11	Mon Jan 14 21:00:16 2013
+++ src/lib/librumpuser/rumpuser_port.h	Thu Jan 17 21:42:22 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpuser_port.h,v 1.11 2013/01/14 21:00:16 pooka Exp $	*/
+/*	$NetBSD: rumpuser_port.h,v 1.12 2013/01/17 21:42:22 pooka Exp $	*/
 
 /*
  * Portability header for non-NetBSD platforms.
@@ -76,8 +76,10 @@ getenv_r(const char *name, char *buf, si
 }
 #endif
 
-/* Solarisa 10 has memalign() but no posix_memalign() */
 #if defined(__sun__)
+#include <sys/sysmacros.h>
+
+/* Solarisa 10 has memalign() but no posix_memalign() */
 #include <stdlib.h>
 
 static inline int

Reply via email to