summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-09-11 16:55:44 +0000
committerPaul Smith <psmith@gnu.org>2002-09-11 16:55:44 +0000
commit4a11acf04705a07b78d8ddf71cfc90ce2607cdd8 (patch)
tree61aafd0099e1a25e584e7f768a4d41c1732b3579 /make.h
parent5df75e726567954acd8cec5fb247a6124fa8a9e0 (diff)
downloadgunmake-4a11acf04705a07b78d8ddf71cfc90ce2607cdd8.tar.gz
Fix HAVE_BROKEN_RESTART logic.
Fix hash.h typos (only noticed when using Windows). Update .cvsignore files.
Diffstat (limited to 'make.h')
-rw-r--r--make.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/make.h b/make.h
index 2e354c9..6648ea0 100644
--- a/make.h
+++ b/make.h
@@ -547,7 +547,16 @@ extern int handling_fatal_signal;
#ifdef HAVE_BROKEN_RESTART
+/* Here we make an assumption that a system with a broken SA_RESTART has
+ dirent.h. Right now the only system I know of in this category is PTX, and
+ it does have dirent.h.
+*/
+#include <dirent.h>
+
#define stat(_f,_b) atomic_stat ((_f), (_b))
#define readdir(_d) atomic_readdir (_d)
+extern int atomic_stat PARAMS ((const char *file, struct stat *buf));
+extern struct dirent *atomic_readdir PARAMS ((DIR *dir));
+
#endif