From b7ecff160ee541904e7b75c9ba88a455c9502409 Mon Sep 17 00:00:00 2001
From: Dan McGee <dan@archlinux.org>
Date: Fri, 6 Jan 2012 16:09:19 -0600
Subject: 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>
---
 lib/libalpm/add.c  | 3 +--
 lib/libalpm/alpm.h | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

(limited to 'lib/libalpm')

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 */
 
-- 
cgit v1.2.3-70-g09d2