summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--apropos.c4
-rw-r--r--apropos_db.c3
-rw-r--r--mandocdb.c2
4 files changed, 5 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 13922d69..ab452afa 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/apropos.c b/apropos.c
index e8c19b7e..f5ed9912 100644
--- a/apropos.c
+++ b/apropos.c
@@ -15,10 +15,10 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
+
#include <sys/param.h>
+#include <sys/types.h>
#include <assert.h>
#include <getopt.h>
diff --git a/apropos_db.c b/apropos_db.c
index a50ec34d..df9fa98f 100644
--- a/apropos_db.c
+++ b/apropos_db.c
@@ -15,11 +15,10 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include <sys/param.h>
+#include <sys/types.h>
#include <assert.h>
#include <fcntl.h>
diff --git a/mandocdb.c b/mandocdb.c
index 8b297e29..fe3abdfe 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -15,9 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include <sys/types.h>