diff options
author | Dan McGee <dan@archlinux.org> | 2007-04-29 12:47:02 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-29 12:47:02 -0400 |
commit | 8bbb5dd0789db6d57f1fc365296ef0f6a35e8a1f (patch) | |
tree | 71ed3efd6fe09fdf6fed3bc795d16c68d06254de /lib/libalpm/sync.c | |
parent | a58e17a1d7a9901bb32277c9aed7edded3501767 (diff) | |
download | pacman-8bbb5dd0789db6d57f1fc365296ef0f6a35e8a1f.tar.xz |
libalpm util.c and util.h cleanup
* Remove some unnecessary conditional compiling in util.h- move the
functions tha required it to trans.c (along with a bunch of new header
includes).
* Clean up util.h a bit- remove some header includes, remove universal
libarchive include and only put it in the files that need it.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 9af25c13..7823a67b 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -28,10 +28,8 @@ #include <stdio.h> #include <fcntl.h> #include <string.h> +#include <unistd.h> #include <time.h> -#ifdef CYGWIN -#include <limits.h> /* PATH_MAX */ -#endif #include <dirent.h> /* libalpm */ |