aboutsummaryrefslogtreecommitdiff
path: root/net/bandwidthd/files/patch-conf.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bandwidthd/files/patch-conf.tab.c')
-rw-r--r--net/bandwidthd/files/patch-conf.tab.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/bandwidthd/files/patch-conf.tab.c b/net/bandwidthd/files/patch-conf.tab.c
new file mode 100644
index 000000000000..ad318ab770e1
--- /dev/null
+++ b/net/bandwidthd/files/patch-conf.tab.c
@@ -0,0 +1,19 @@
+--- conf.tab.c.orig Sun Sep 14 10:34:01 2003
++++ conf.tab.c Sun Nov 2 12:21:17 2003
+@@ -23,11 +23,15 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <unistd.h>
++#ifdef FREEBSD
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <signal.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>