X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=oslib%2Fstrndup.h;h=2f41848ec2d54f5f821050a444239a6d60cb19c5;hb=d0b2501a379dcf25cfcfe7059e9dc54b9c5ada4f;hp=2cb904dab0b76448c59172f80084b9a96075d023;hpb=e6fe02651641fc64d2fa4fcfe9b1013b2947d11b;p=fio.git diff --git a/oslib/strndup.h b/oslib/strndup.h index 2cb904da..2f41848e 100644 --- a/oslib/strndup.h +++ b/oslib/strndup.h @@ -1,7 +1,12 @@ -#include - #ifndef CONFIG_HAVE_STRNDUP +#ifndef FIO_STRNDUP_LIB_H +#define FIO_STRNDUP_LIB_H + +#include + char *strndup(const char *s, size_t n); #endif + +#endif