summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-10 23:54:41 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-10 23:54:41 +0000
commita48dab80b41e90194711a45e5012659b7a83da4f (patch)
treee9ff1b0c9ce7ccae2406c13997216cfa833192fe /Makefile
parenteb71396069dcb5ba517f77b55312e455b6b16b76 (diff)
downloadmandoc-a48dab80b41e90194711a45e5012659b7a83da4f.tar.gz
Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.
Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 914e6e00..f9114f80 100644
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,8 @@ VERSION = 1.13.1
#
CFLAGS += -DUSE_WCHAR
-CFLAGS += -g -DHAVE_CONFIG_H
-CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
+CFLAGS += -g -W -Wall -Wstrict-prototypes
+CFLAGS += -Wno-unused-parameter -Wwrite-strings
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
INCLUDEDIR = $(PREFIX)/include/mandoc