freebsd-ports/www/quickie/files/patch-quickie-config_main.cc
Pav Lucistnik 9a96a7cae9 - Update to 1.1
- Fix build on FreeBSD 4.X

PR:		ports/97935
Submitted by:	Shaun Amott <shaun@inerd.com> (maintainer)
2006-05-26 17:38:15 +00:00

17 lines
393 B
C++

--- quickie-config/main.cc.orig Sat May 20 23:56:52 2006
+++ quickie-config/main.cc Thu May 25 12:57:25 2006
@@ -24,7 +24,13 @@
#include <cstdio>
#include <cstdlib>
#include <unistd.h>
-#include <getopt.h>
+
+#ifdef __FreeBSD__
+//# include <osreldate.h>
+//# if __FreeBSD_version < 500041
+# include <getopt.h>
+//# endif
+#endif
#include <configuration.h>
#include <progname.h>