summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-01-06 16:09:19 -0600
committerDan McGee <dan@archlinux.org>2012-01-07 11:28:37 -0600
commitb7ecff160ee541904e7b75c9ba88a455c9502409 (patch)
tree843c0231499abdbfb51a5530b72146f641950fab /lib
parentd59324c8fff0a91930bf226d013273691f0580e6 (diff)
downloadpacman-b7ecff160ee541904e7b75c9ba88a455c9502409.tar.xz
Clean up <inttypes.h> header inclusions
In both cases we can go with the slightly leaner <stdint.h> header include since we aren't using the print macros. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/add.c3
-rw-r--r--lib/libalpm/alpm.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index 014990d2..e81d96fa 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -26,8 +26,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <inttypes.h> /* int64_t */
-#include <stdint.h> /* intmax_t */
+#include <stdint.h> /* int64_t */
/* libarchive */
#include <archive.h>
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 1751c81c..95c817ea 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -27,7 +27,7 @@
extern "C" {
#endif
-#include <inttypes.h> /* int64_t */
+#include <stdint.h> /* int64_t */
#include <sys/types.h> /* off_t */
#include <stdarg.h> /* va_list */