diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-04-29 17:54:12 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-04-29 17:54:12 +1000 |
commit | 7c15301841e2e9d37cae732400de63ae9c0961d6 (patch) | |
tree | c759961768db4f897cd80a373490e4613e400b25 /openbsd-compat/strnlen.c | |
parent | cec338967a666b7c8ad8b88175f2faeddf268116 (diff) |
Use includes.h instead of config.h.
This ensures it picks up the definition of DEF_WEAK, the lack of which
can cause compile errors in some cases (eg modern AIX). From
michael at felt.demon.nl.
Diffstat (limited to 'openbsd-compat/strnlen.c')
-rw-r--r-- | openbsd-compat/strnlen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/strnlen.c b/openbsd-compat/strnlen.c index 8cc6b96b5..7ad3573a6 100644 --- a/openbsd-compat/strnlen.c +++ b/openbsd-compat/strnlen.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | /* OPENBSD ORIGINAL: lib/libc/string/strnlen.c */ | 19 | /* OPENBSD ORIGINAL: lib/libc/string/strnlen.c */ |
20 | 20 | ||
21 | #include "config.h" | 21 | #include "includes.h" |
22 | #if !defined(HAVE_STRNLEN) || defined(BROKEN_STRNLEN) | 22 | #if !defined(HAVE_STRNLEN) || defined(BROKEN_STRNLEN) |
23 | #include <sys/types.h> | 23 | #include <sys/types.h> |
24 | 24 | ||