X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=libopkg%2Fincludes.h;h=65beb56e7e758489712b27110c0d87c707dbfdcf;hp=5a67001ab4d2054326dc5c521cf5dc673241307b;hb=69bae440fd21376d2a717575b1418c962396bd21;hpb=f4a787e50beb527aeffd847df6b734b29967bd96 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