Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpuser Include sys/sysmacros.h on solaris for MIN/MAX.



details:   https://anonhg.NetBSD.org/src/rev/428badcde333
branches:  trunk
changeset: 784085:428badcde333
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jan 17 21:42:22 2013 +0000

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

diffstat:

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

diffs (21 lines):

diff -r 16a831b36b26 -r 428badcde333 lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h   Thu Jan 17 21:42:18 2013 +0000
+++ b/lib/librumpuser/rumpuser_port.h   Thu Jan 17 21:42:22 2013 +0000
@@ -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 @@
 }
 #endif
 
+#if defined(__sun__)
+#include <sys/sysmacros.h>
+
 /* Solarisa 10 has memalign() but no posix_memalign() */
-#if defined(__sun__)
 #include <stdlib.h>
 
 static inline int



Home | Main Index | Thread Index | Old Index