summaryrefslogtreecommitdiffstats
path: root/libopkg/includes.h
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:05:13 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:05:13 (EST)
commit69bae440fd21376d2a717575b1418c962396bd21 (patch)
treea8e7426d342a84c1d5b577553aa052193a048386 /libopkg/includes.h
parentf4a787e50beb527aeffd847df6b734b29967bd96 (diff)
opkg: remove opkg.h in preperation for new API
git-svn-id: http://opkg.googlecode.com/svn/trunk@65 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/includes.h')
-rw-r--r--libopkg/includes.h9
1 files changed, 1 insertions, 8 deletions
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 <config.h>
#include <stdio.h>
#if STDC_HEADERS
@@ -20,15 +21,7 @@
#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>
-# undef __USE_GNU
#endif
#if HAVE_STRINGS_H