summaryrefslogtreecommitdiff
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-25 17:24:23 -0400
committerDan McGee <dan@archlinux.org>2007-04-26 14:34:41 -0400
commit97313ba31645796148c3f413d9ebde365df06dbe (patch)
tree95a937c665c4ecb57c21df645292c616451794ae /src/pacman/sync.c
parentda3286a80d10ea3896ae09e9e753dc4f19fa3bf6 (diff)
More pacman side cleanup
* Cleaned up more of the header #includes, and got rid of a lot of stuff that was due to trying to make it compile on BSD/Darwin/CYGWIN. We can add it later but lets keep it simple for now and do it in seperate files if possible later. * Removed a lot of #define MACROS. Some were not even used, and others were only used a few times. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index e8399625..5b20147c 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -25,14 +25,8 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
-#if defined(__APPLE__) || defined(__OpenBSD__)
-#include <sys/syslimits.h>
-#endif
#include <unistd.h>
#include <dirent.h>
-#ifdef CYGWIN
-#include <limits.h> /* PATH_MAX */
-#endif
#include <alpm.h>
#include <alpm_list.h>