diff options
author | ewt <devnull@localhost> | 1996-12-12 03:32:22 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-12-12 03:32:22 +0000 |
commit | 329e94d98e96cb0f5a64b87e0ad5108dd7c50f3e (patch) | |
tree | b47380f85803c1862c19133e90b676ea868e8b3f /lib/rebuilddb.c | |
parent | a255e37e2f377f50a1f7b883fed193fa36f453c6 (diff) | |
download | rpm-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 'lib/rebuilddb.c')
-rw-r--r-- | lib/rebuilddb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/rebuilddb.c b/lib/rebuilddb.c index 933e66123..ab0892ef4 100644 --- a/lib/rebuilddb.c +++ b/lib/rebuilddb.c @@ -1,10 +1,13 @@ -#include <alloca.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <sys/stat.h> /* for mkdir(2) !?! */ #include <unistd.h> +#ifndef HAVE_ALLOCA_H +#include <alloca.h> +#endif + #include "messages.h" #include "rpmdb.h" #include "rpmlib.h" |