summaryrefslogtreecommitdiff
path: root/www/fhttpd/files/patch-ai
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-05 02:49:33 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-05 02:49:33 +0000
commitc5786aa3cbdf0df47be293892547e16acd21febe (patch)
tree842a08d61f68e5a9b37f9218eac6c64f8cb29af9 /www/fhttpd/files/patch-ai
parentRespect CC and CFLAGS and fix build on -current. (diff)
Respect CC and CXX, and don't depend on obsoleted header <values.h>
for a definition of BITSPERBYTE
Notes
Notes: svn path=/head/; revision=65637
Diffstat (limited to 'www/fhttpd/files/patch-ai')
-rw-r--r--www/fhttpd/files/patch-ai19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/fhttpd/files/patch-ai b/www/fhttpd/files/patch-ai
new file mode 100644
index 000000000000..cac87081a86d
--- /dev/null
+++ b/www/fhttpd/files/patch-ai
@@ -0,0 +1,19 @@
+--- pseudopoll.c.orig Wed Sep 4 19:45:04 2002
++++ pseudopoll.c Wed Sep 4 19:45:19 2002
+@@ -7,7 +7,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <limits.h>
+-#include <values.h>
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <sys/poll.h>
+@@ -15,6 +14,8 @@
+ #ifdef NEED_SELECT_H
+ #include <sys/select.h>
+ #endif
++
++#define BITSPERBYTE 8
+
+ static char *readfds_c=NULL;
+ static char *writefds_c=NULL;