summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-18 14:27:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-18 14:27:01 +0000
commit29f1f9aeaaf5e15d9d3101a0887b102b9b24c96f (patch)
treee7f52c1a6427d134e0500cd89d4e5e9761393f68
parent13255de738140bf9fed5a722c85cf8e0f7083a9d (diff)
downloadmandoc-29f1f9aeaaf5e15d9d3101a0887b102b9b24c96f.tar.gz
Make compat files actually use compat.h. Ooops.
-rw-r--r--compat_fgetln.c4
-rw-r--r--compat_getsubopt.c4
-rw-r--r--compat_strlcat.c4
-rw-r--r--compat_strlcpy.c4
4 files changed, 16 insertions, 0 deletions
diff --git a/compat_fgetln.c b/compat_fgetln.c
index 236e3830..49c9985b 100644
--- a/compat_fgetln.c
+++ b/compat_fgetln.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef HAVE_FGETLN
int dummy;
diff --git a/compat_getsubopt.c b/compat_getsubopt.c
index 1a7ec6e8..9cd41536 100644
--- a/compat_getsubopt.c
+++ b/compat_getsubopt.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef HAVE_GETSUBOPT
int dummy;
diff --git a/compat_strlcat.c b/compat_strlcat.c
index ba9196da..543d40b3 100644
--- a/compat_strlcat.c
+++ b/compat_strlcat.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef HAVE_STRLCAT
int dummy;
diff --git a/compat_strlcpy.c b/compat_strlcpy.c
index f56f2d85..a7c64ff9 100644
--- a/compat_strlcpy.c
+++ b/compat_strlcpy.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef HAVE_STRLCPY
int dummy;