diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | apropos.c | 4 | ||||
-rw-r--r-- | apropos_db.c | 3 | ||||
-rw-r--r-- | mandocdb.c | 2 |
4 files changed, 5 insertions, 8 deletions
@@ -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 @@ -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> @@ -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> |