oslib/strndup: cleanup and remember to include for aux programs
[fio.git] / oslib / strndup.h
index 669364e435c210ad26090f8129e7a20ae637d712..2cb904dab0b76448c59172f80084b9a96075d023 100644 (file)
@@ -1,8 +1,6 @@
-#ifdef CONFIG_HAVE_STRNDUP
-
 #include <string.h>
 
-#else
+#ifndef CONFIG_HAVE_STRNDUP
 
 char *strndup(const char *s, size_t n);