diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-10 23:54:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-10 23:54:41 +0000 |
commit | a48dab80b41e90194711a45e5012659b7a83da4f (patch) | |
tree | e9ff1b0c9ce7ccae2406c13997216cfa833192fe /mdoc_validate.c | |
parent | eb71396069dcb5ba517f77b55312e455b6b16b76 (diff) | |
download | mandoc-a48dab80b41e90194711a45e5012659b7a83da4f.tar.gz |
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.
Remove <stdio.h> from config.h; if it is missing somewhere, it should
be added, but i cannot find a *.c file where it is missing.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index a7fd30bf..ae6acec1 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -16,16 +16,13 @@ * 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> #ifndef OSNAME #include <sys/utsname.h> #endif -#include <sys/types.h> - #include <assert.h> #include <ctype.h> #include <limits.h> |