diff options
author | Paul Smith <psmith@gnu.org> | 2002-09-11 16:55:44 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-09-11 16:55:44 +0000 |
commit | 4a11acf04705a07b78d8ddf71cfc90ce2607cdd8 (patch) | |
tree | 61aafd0099e1a25e584e7f768a4d41c1732b3579 /make.h | |
parent | 5df75e726567954acd8cec5fb247a6124fa8a9e0 (diff) | |
download | gunmake-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.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |