aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apropos_db.c
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 /apropos_db.c
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 'apropos_db.c')
-rw-r--r--apropos_db.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apropos_db.c b/apropos_db.c
index 2eee2091..125d0aa0 100644
--- a/apropos_db.c
+++ b/apropos_db.c
@@ -1,4 +1,4 @@
-/* $Id: apropos_db.c,v 1.32.2.6 2014/04/23 21:31:38 schwarze Exp $ */
+/* $Id: apropos_db.c,v 1.32.2.7 2014/08/11 00:31:13 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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>