1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/security/pidentd/files/patch-ak

17 lines
396 B
Plaintext

--- src/freebsd.c.orig Wed Jul 14 15:23:56 1999
+++ src/freebsd.c Wed Jul 14 15:24:51 1999
@@ -1,3 +1,8 @@
+#include <osreldate.h>
+#if __FreeBSD_version >= 400007 || (__FreeBSD_version < 400000 && \
+ __FreeBSD_version >= 320002)
+#include "freebsd-sysctl.c"
+#else
/*
** freebsd.c Low level kernel access functions for FreeBSD 2.x
**
@@ -306,3 +310,4 @@
return -1;
}
+#endif