projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opkg: remove opkg.h in preperation for new API
[oweals/opkg-lede.git]
/
libopkg
/
includes.h
diff --git
a/libopkg/includes.h
b/libopkg/includes.h
index 5a67001ab4d2054326dc5c521cf5dc673241307b..65beb56e7e758489712b27110c0d87c707dbfdcf 100644
(file)
--- a/
libopkg/includes.h
+++ b/
libopkg/includes.h
@@
-1,6
+1,7
@@
#ifndef INCLUDES_H
#define INCLUDES_H
#ifndef INCLUDES_H
#define INCLUDES_H
+#include <config.h>
#include <stdio.h>
#if STDC_HEADERS
#include <stdio.h>
#if STDC_HEADERS
@@
-20,15
+21,7
@@
#endif
#if HAVE_STRING_H
#endif
#if HAVE_STRING_H
-# if !STDC_HEADERS && HAVE_MEMORY_H
-# include <memory.h>
-# endif
-/* XXX: What's the right way to pick up GNU's strndup declaration? */
-# if __GNUC__
-# define __USE_GNU 1
-# endif
# include <string.h>
# include <string.h>
-# undef __USE_GNU
#endif
#if HAVE_STRINGS_H
#endif
#if HAVE_STRINGS_H