aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-11 00:31:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-11 00:31:13 +0000
commitefdbf640ebc1b89f89b24d81cf52c7f5b377531b (patch)
tree19cf5317877882b5562089fbf9baf9849daf252b /Makefile
parentf3881965f856f945f65bdba14a964b3bc143e2da (diff)
downloadmandoc-efdbf640ebc1b89f89b24d81cf52c7f5b377531b.tar.gz
mandoc-efdbf640ebc1b89f89b24d81cf52c7f5b377531b.tar.zst
mandoc-efdbf640ebc1b89f89b24d81cf52c7f5b377531b.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d69eaa58..8073ffe2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.395.2.26 2014/08/05 11:19:46 schwarze Exp $
+# $Id: Makefile,v 1.395.2.27 2014/08/11 00:31:13 schwarze Exp $
#
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
# Copyright (c) 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -34,8 +34,8 @@ VERSION = 1.12.4
#
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