Add Linux compile support. - gopherproxy-c - Gopher HTTP proxy in C (CGI)
(HTM) git clone git://git.codemadness.org/gopherproxy-c
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit dbe80c7d9f93688585348abacbde2cd22c5373a9
(DIR) parent c203aa551a7deb54746100ba0532d5e6d234ad85
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Mon, 13 Aug 2018 12:42:29 +0200
Add Linux compile support.
Diffstat:
M Makefile | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -7,6 +7,8 @@ OBJ = $(BIN:=.o)
#CFLAGS += -DUSE_PLEDGE
# build static: useful in www chroot.
#LDFLAGS += -static
+# Linux
+#CPPFLAGS += -D_DEFAULT_SOURCE
all: $(BIN)