diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-11 00:31:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-11 00:31:13 +0000 |
commit | efdbf640ebc1b89f89b24d81cf52c7f5b377531b (patch) | |
tree | 19cf5317877882b5562089fbf9baf9849daf252b /apropos.c | |
parent | f3881965f856f945f65bdba14a964b3bc143e2da (diff) | |
download | mandoc-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.c')
-rw-r--r-- | apropos.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: apropos.c,v 1.27.2.1 2013/09/17 23:23:10 schwarze Exp $ */ +/* $Id: apropos.c,v 1.27.2.2 2014/08/11 00:31:13 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -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> |