projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(jm_LIB_CHECK): Use []-quoted list in
[gnulib.git]
/
lib
/
backupfile.c
diff --git
a/lib/backupfile.c
b/lib/backupfile.c
index
94f22de
..
100e0a5
100644
(file)
--- a/
lib/backupfile.c
+++ b/
lib/backupfile.c
@@
-58,19
+58,24
@@
# define CLOSEDIR(d) closedir (d)
#endif
# define CLOSEDIR(d) closedir (d)
#endif
-#if
STDC_HEADERS
+#if
HAVE_STDLIB_H
# include <stdlib.h>
# include <stdlib.h>
-#else
-char *malloc ();
#endif
#ifndef HAVE_DECL_GETENV
#endif
#ifndef HAVE_DECL_GETENV
-'this configure-time declaration test was not run'
+"this configure-time declaration test was not run"
#endif
#if !HAVE_DECL_GETENV
char *getenv ();
#endif
#endif
#if !HAVE_DECL_GETENV
char *getenv ();
#endif
+#ifndef HAVE_DECL_MALLOC
+"this configure-time declaration test was not run"
+#endif
+#if !HAVE_DECL_MALLOC
+char *malloc ();
+#endif
+
char *base_name PARAMS ((char const *));
#if HAVE_DIRENT_H || HAVE_NDIR_H || HAVE_SYS_DIR_H || HAVE_SYS_NDIR_H
char *base_name PARAMS ((char const *));
#if HAVE_DIRENT_H || HAVE_NDIR_H || HAVE_SYS_DIR_H || HAVE_SYS_NDIR_H