summaryrefslogtreecommitdiff
path: root/url.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 /url.c
parenta255e37e2f377f50a1f7b883fed193fa36f453c6 (diff)
downloadlibrpm-tizen-329e94d98e96cb0f5a64b87e0ad5108dd7c50f3e.tar.gz
librpm-tizen-329e94d98e96cb0f5a64b87e0ad5108dd7c50f3e.tar.bz2
librpm-tizen-329e94d98e96cb0f5a64b87e0ad5108dd7c50f3e.zip
made include of alloca.h conditional
CVS patchset: 1227 CVS date: 1996/12/12 03:32:22
Diffstat (limited to 'url.c')
-rw-r--r--url.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/url.c b/url.c
index 635921b03..740fcd36f 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,3 @@
-#include <alloca.h>
#include <fcntl.h>
#include <pwd.h>
#include <string.h>
@@ -6,6 +5,10 @@
#include <stdlib.h>
#include <unistd.h>
+#ifdef HAVE_ALLOCA_H
+# include <alloca.h>
+#endif
+
#include "ftp.h"
#include "messages.h"
#include "rpmlib.h"