projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init: loosen serialize_overlap restrictions
[fio.git]
/
oslib
/
strndup.c
diff --git
a/oslib/strndup.c
b/oslib/strndup.c
index 318ca933d54b0e5e4cdb09dc32d69ec5f7f0ab8b..657904ab64d8044f71cce87b716743a21036186a 100644
(file)
--- a/
oslib/strndup.c
+++ b/
oslib/strndup.c
@@
-1,7
+1,8
@@
+#ifndef CONFIG_HAVE_STRNDUP
+
#include <stdlib.h>
#include <string.h>
-
-#ifndef CONFIG_HAVE_STRNDUP
+#include "strndup.h"
char *strndup(const char *s, size_t n)
{