aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit542b6aa18abe9cadcf68c4a5c88bde4353e5eac9 (patch)
treefa6069eb1a2a268ddd6d8879f706a6930e86353e /Makefile
parentf0a7b2d879a302384d0c80008e61e904904e837b (diff)
downloadmandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.tar.gz
mandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.tar.zst
mandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.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. 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--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 47f37a7d..9b0a08b6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.435 2014/08/10 02:45:04 schwarze Exp $
+# $Id: Makefile,v 1.436 2014/08/10 23:54:41 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.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