summaryrefslogtreecommitdiff
path: root/openbsd-compat/strndup.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/strndup.c')
-rw-r--r--openbsd-compat/strndup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/strndup.c b/openbsd-compat/strndup.c
index 0fcb96f6b..ebb4eccfb 100644
--- a/openbsd-compat/strndup.c
+++ b/openbsd-compat/strndup.c
@@ -17,7 +17,7 @@
17 */ 17 */
18 18
19#include "config.h" 19#include "config.h"
20#ifndef HAVE_STRNDUP 20#if !defined(HAVE_STRNDUP) || defined(BROKEN_STRNDUP)
21#include <sys/types.h> 21#include <sys/types.h>
22 22
23#include <stddef.h> 23#include <stddef.h>