Introduction
Introduction Statistics Contact Development Disclaimer Help
Add some missing headers and interface visibility macro - quark - quark web ser…
git clone git://git.suckless.org/quark
Log
Files
Refs
LICENSE
---
commit 3ff3e5ea6e1a3d85c6282a833a07424fcac3acc3
parent 6b55e36036d52c07803824048080a1e350fe6c8c
Author: Quentin Rameau <[email protected]>
Date: Thu, 1 Mar 2018 15:18:20 +0100
Add some missing headers and interface visibility macro
strings.h for strncasecmp
time.h for strptime
Diffstat:
M LICENSE | 2 +-
M config.mk | 2 +-
M http.c | 2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/LICENSE b/LICENSE
@@ -6,7 +6,7 @@ Copyright 2004 Ted Unangst <[email protected]>
Copyright 2004 Todd C. Miller <[email protected]>
Copyright 2008 Otto Moerbeek <[email protected]>
Copyright 2017 Hiltjo Posthuma <[email protected]>
-Copyright 2017 Quentin Rameau <[email protected]>
+Copyright 2017-2018 Quentin Rameau <[email protected]>
Copyright 2018 Josuah Demangeon <[email protected]>
Permission to use, copy, modify, and/or distribute this software for any
diff --git a/config.mk b/config.mk
@@ -8,7 +8,7 @@ PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
# flags
-CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_BSD_SOURCE
+CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_B…
CFLAGS = -std=c99 -pedantic -Wno-unused-variable -Wno-implicit-function-decl…
LDFLAGS = -s
diff --git a/http.c b/http.c
@@ -9,9 +9,11 @@
#include <stdint.h>
#include <stdio.h>
#include <string.h>
+#include <strings.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include <time.h>
#include <unistd.h>
#include "config.h"
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.