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/strndup.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/strndup.c')
-rw-r--r-- | openbsd-compat/strndup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/strndup.c b/openbsd-compat/strndup.c index ebb4eccfb..30ac6f046 100644 --- a/openbsd-compat/strndup.c +++ b/openbsd-compat/strndup.c | |||
@@ -16,7 +16,7 @@ | |||
16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include "config.h" | 19 | #include "includes.h" |
20 | #if !defined(HAVE_STRNDUP) || defined(BROKEN_STRNDUP) | 20 | #if !defined(HAVE_STRNDUP) || defined(BROKEN_STRNDUP) |
21 | #include <sys/types.h> | 21 | #include <sys/types.h> |
22 | 22 | ||