summaryrefslogtreecommitdiff
path: root/mail/libspf-alt/files/patch-bin::spf_example::spf_example.c
blob: dc5921cf953d6231288c3127bd6941b4198eec36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- bin/spf_example/spf_example.c.orig	Sat Apr 10 00:08:41 2004
+++ bin/spf_example/spf_example.c	Fri May 28 22:59:52 2004
@@ -55,8 +55,12 @@
 # include <arpa/inet.h>    /* in_addr struct */
 #endif
 
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
+#if defined(__FreeBSD__)
+#if (OSVERSION > 500000)
+#include "getopt.h"
+#else
+#include "unistd.h"
+#endif
 #endif