summaryrefslogtreecommitdiff
path: root/query.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-12-12 03:32:22 +0000
committerewt <devnull@localhost>1996-12-12 03:32:22 +0000
commit329e94d98e96cb0f5a64b87e0ad5108dd7c50f3e (patch)
treeb47380f85803c1862c19133e90b676ea868e8b3f /query.c
parenta255e37e2f377f50a1f7b883fed193fa36f453c6 (diff)
downloadrpm-329e94d98e96cb0f5a64b87e0ad5108dd7c50f3e.tar.gz
rpm-329e94d98e96cb0f5a64b87e0ad5108dd7c50f3e.tar.bz2
rpm-329e94d98e96cb0f5a64b87e0ad5108dd7c50f3e.zip
made include of alloca.h conditional
CVS patchset: 1227 CVS date: 1996/12/12 03:32:22
Diffstat (limited to 'query.c')
-rw-r--r--query.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/query.c b/query.c
index daed18c25..ae91b9d76 100644
--- a/query.c
+++ b/query.c
@@ -1,4 +1,3 @@
-#include <alloca.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
@@ -10,6 +9,10 @@
#include <sys/param.h>
#include <unistd.h>
+#ifdef HAVE_ALLOCA_H
+# include <alloca.h>
+#endif
+
#include "lib/messages.h"
#include "rpmlib.h"
#include "query.h"