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 | 542b6aa18abe9cadcf68c4a5c88bde4353e5eac9 (patch) | |
tree | fa6069eb1a2a268ddd6d8879f706a6930e86353e /mdoc_hash.c | |
parent | f0a7b2d879a302384d0c80008e61e904904e837b (diff) | |
download | mandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.tar.gz mandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.tar.zst mandoc-542b6aa18abe9cadcf68c4a5c88bde4353e5eac9.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.
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_hash.c')
-rw-r--r-- | mdoc_hash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mdoc_hash.c b/mdoc_hash.c index db30ee60..5e34fe8f 100644 --- a/mdoc_hash.c +++ b/mdoc_hash.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_hash.c,v 1.20 2014/04/20 16:46:05 schwarze Exp $ */ +/* $Id: mdoc_hash.c,v 1.21 2014/08/10 23:54:41 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -14,9 +14,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> |