X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libopkg%2Fincludes.h;h=65beb56e7e758489712b27110c0d87c707dbfdcf;hb=c0fae254580423e0c7e5a6f140645e0db8fdfb37;hp=5a67001ab4d2054326dc5c521cf5dc673241307b;hpb=4b0b7ca249bfa4ecc099c2ca56527eb91776f198;p=oweals%2Fopkg-lede.git diff --git a/libopkg/includes.h b/libopkg/includes.h index 5a67001..65beb56 100644 --- a/libopkg/includes.h +++ b/libopkg/includes.h @@ -1,6 +1,7 @@ #ifndef INCLUDES_H #define INCLUDES_H +#include #include #if STDC_HEADERS @@ -20,15 +21,7 @@ #endif #if HAVE_STRING_H -# if !STDC_HEADERS && HAVE_MEMORY_H -# include -# endif -/* XXX: What's the right way to pick up GNU's strndup declaration? */ -# if __GNUC__ -# define __USE_GNU 1 -# endif # include -# undef __USE_GNU #endif #if HAVE_STRINGS_H