SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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