diff options
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/db.c | 7 | ||||
-rw-r--r-- | lib/libalpm/remove.c | 7 | ||||
-rw-r--r-- | lib/libalpm/server.c | 1 | ||||
-rw-r--r-- | lib/libalpm/sync.c | 2 |
4 files changed, 0 insertions, 17 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 470f45aa..95a1ecb3 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -31,15 +31,8 @@ #include <errno.h> #include <string.h> #include <sys/stat.h> -#if defined(__APPLE__) || defined(__OpenBSD__) -#include <sys/syslimits.h> -#include <sys/stat.h> -#endif #include <dirent.h> #include <regex.h> -#ifdef CYGWIN -#include <limits.h> /* PATH_MAX */ -#endif /* libalpm */ #include "db.h" diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index cc3afeb7..1a0b2d5e 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -31,14 +31,7 @@ #include <fcntl.h> #include <string.h> #include <limits.h> -#if defined(__APPLE__) || defined(__OpenBSD__) -#include <sys/syslimits.h> -#endif -#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__sun__) -#include <sys/stat.h> -#endif #include <unistd.h> -#include <errno.h> /* libalpm */ #include "remove.h" diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c index abd16dbe..5b41a808 100644 --- a/lib/libalpm/server.c +++ b/lib/libalpm/server.c @@ -39,7 +39,6 @@ #include "alpm.h" #include "util.h" #include "handle.h" -#include "log.h" #include "package.h" /** Fetch a remote pkg. diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index f60e582f..b04e1f49 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -47,11 +47,9 @@ #include "util.h" #include "versioncmp.h" #include "handle.h" -#include "util.h" #include "alpm.h" #include "md5.h" #include "sha1.h" -#include "handle.h" #include "server.h" pmsyncpkg_t *_alpm_sync_new(int type, pmpkg_t *spkg, void *data) |