aboutsummaryrefslogtreecommitdiffstats
path: root/security/pidentd/files/patch-ak
blob: 08893afd3f85df10659066e014a6c6967bcd0a32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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