]> git.cameronkatri.com Git - mandoc.git/blobdiff - mansearch.c
Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat.
[mandoc.git] / mansearch.c
index e1226b1ce173005f1c3da0b72d08fc6172c44595..31d4138d24f6a6344e4e114ae2286fc7e08ed69a 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: mansearch.c,v 1.42 2014/08/09 14:24:53 schwarze Exp $ */
+/*     $Id: mansearch.c,v 1.43 2014/08/10 23:54:41 schwarze Exp $ */
 /*
  * Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
  * 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/mman.h>
+#include <sys/types.h>
+
 #include <assert.h>
 #include <fcntl.h>
 #include <getopt.h>