index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-04-26 19:39:53 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-26 19:39:53 -0400 |
commit | 75efcbbff6a9e1db543f04693f70780413369a85 (patch) | |
tree | 0f618ec7c679803820ab37d96f093f736c42ae03 /lib/libalpm/util.h | |
parent | 63588aff191f5bf982cc0c8ee8af2b46de084c4b (diff) |
-rw-r--r-- | lib/libalpm/util.h | 7 |
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index 9f028e8a..c4131795 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -26,13 +26,9 @@ #define _ALPM_UTIL_H #include <stdio.h> -#if defined(__OpenBSD__) -#include "/usr/local/include/archive.h" -#include "/usr/local/include/archive_entry.h" -#else +#include <libintl.h> /* here so it doesn't need to be included elsewhere */ #include <archive.h> #include <archive_entry.h> -#endif #define FREE(p) do { if (p) { free(p); p = NULL; } } while(0) @@ -45,6 +41,7 @@ #define ARCHIVE_EXTRACT_FLAGS ARCHIVE_EXTRACT_OWNER | ARCHIVE_EXTRACT_PERM | ARCHIVE_EXTRACT_TIME +/* define _() as shortcut for gettext() */ #ifdef ENABLE_NLS #define _(str) dgettext ("libalpm", str) #else |