projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e95e75d
)
1) use config.h if available
author
ewt
<devnull@localhost>
Fri, 17 Jan 1997 16:22:45 +0000
(16:22 +0000)
committer
ewt
<devnull@localhost>
Fri, 17 Jan 1997 16:22:45 +0000
(16:22 +0000)
2) use if not ifdef
3) include <string.h>
CVS patchset: 1316
CVS date: 1997/01/17 16:22:45
lib/rebuilddb.c
patch
|
blob
|
history
diff --git
a/lib/rebuilddb.c
b/lib/rebuilddb.c
index
ed1a611
..
78c9e68
100644
(file)
--- a/
lib/rebuilddb.c
+++ b/
lib/rebuilddb.c
@@
-1,10
+1,13
@@
+#include "config.h"
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
+#include <string.h>
#include <sys/stat.h> /* for mkdir(2) !?! */
#include <unistd.h>
-#if
def
HAVE_ALLOCA_H
+#if HAVE_ALLOCA_H
#include <alloca.h>
#endif