summaryrefslogtreecommitdiff
path: root/lib/package.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-03-04 16:52:59 +0000
committerewt <devnull@localhost>1998-03-04 16:52:59 +0000
commit4786aaf0660172b5778e4cc6197f0be6cb7b8118 (patch)
tree14cea63529116f5a52394b2e60340531c270ec0b /lib/package.c
parent619bdbe02e1b693afffe29226114c4cccc9e1d6b (diff)
downloadlibrpm-tizen-4786aaf0660172b5778e4cc6197f0be6cb7b8118.tar.gz
librpm-tizen-4786aaf0660172b5778e4cc6197f0be6cb7b8118.tar.bz2
librpm-tizen-4786aaf0660172b5778e4cc6197f0be6cb7b8118.zip
1) header file cleanups
2) use new dependency scheme 3) changed " #if" to "# if" CVS patchset: 2024 CVS date: 1998/03/04 16:52:59
Diffstat (limited to 'lib/package.c')
-rw-r--r--lib/package.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/package.c b/lib/package.c
index 5ae158316..6cbd90259 100644
--- a/lib/package.c
+++ b/lib/package.c
@@ -1,6 +1,11 @@
#include "config.h"
#include "miscfn.h"
+#ifdef HAVE_ALLOCA_H
+# include <alloca.h>
+#endif
+
+#include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <stdlib.h>
@@ -8,7 +13,6 @@
#include <sys/stat.h>
#include <unistd.h>
-#include "errno.h"
#include "header.h"
#include "intl.h"
#include "misc.h"