diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-21 00:41:02 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-21 00:41:02 +0000 |
commit | 824d2a80b8b5cdede52418e1936d03c013bf4124 (patch) | |
tree | dc9d03d0ce624c7ecd849c194cae61f3540105a4 /www/dhttpd/files/patch-main.cc | |
parent | Fix build on -current (catch up to <sys/disklabel.h> changes) (diff) |
Fix build on -current (#include <stdlib.h> for exit() prototype) and
respect CC and CFLAGS
Diffstat (limited to 'www/dhttpd/files/patch-main.cc')
-rw-r--r-- | www/dhttpd/files/patch-main.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/dhttpd/files/patch-main.cc b/www/dhttpd/files/patch-main.cc index 1572b8060663..77b53a87a683 100644 --- a/www/dhttpd/files/patch-main.cc +++ b/www/dhttpd/files/patch-main.cc @@ -1,6 +1,6 @@ ---- src/main.cc Tue Mar 4 09:10:41 1997 -+++ src/main.cc.orig Mon Jun 24 15:12:32 2002 -@@ -18,7 +18,6 @@ +--- src/main.cc.orig Mon Mar 3 17:10:41 1997 ++++ src/main.cc Sun Oct 20 17:41:25 2002 +@@ -18,10 +18,10 @@ */ #include <errno.h> @@ -8,3 +8,7 @@ #include <pwd.h> #include <signal.h> #include <stdio.h> ++#include <stdlib.h> + #include <unistd.h> + #include <sys/socket.h> + #include <sys/types.h> |