25 lines
512 B
Text
25 lines
512 B
Text
|
--- src/rrd_config_bottom.h.orig Fri May 1 09:45:47 2015
|
||
|
+++ src/rrd_config_bottom.h Fri May 15 14:37:54 2015
|
||
|
@@ -16,12 +16,21 @@
|
||
|
#endif
|
||
|
|
||
|
/* FreeBSD 4.8 wants this included BEFORE sys/types.h */
|
||
|
+#ifdef FreeBSD
|
||
|
#ifdef HAVE_SYS_MMAN_H
|
||
|
# include <sys/mman.h>
|
||
|
#endif
|
||
|
+#endif
|
||
|
|
||
|
#ifdef HAVE_SYS_TYPES_H
|
||
|
# include <sys/types.h>
|
||
|
+#endif
|
||
|
+
|
||
|
+/* ... but OpenBSD must have it included AFTER sys/types.h */
|
||
|
+#ifndef FreeBSD
|
||
|
+#ifdef HAVE_SYS_MMAN_H
|
||
|
+# include <sys/mman.h>
|
||
|
+#endif
|
||
|
#endif
|
||
|
|
||
|
#ifdef HAVE_SYS_PARAM_H
|