SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
net/rrdtool/patches/patch-src_rrd_config_bottom_h
Normal file
24
net/rrdtool/patches/patch-src_rrd_config_bottom_h
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- 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
|
Loading…
Add table
Add a link
Reference in a new issue