# include <savedir.h>
#endif
-#ifdef CLOSEDIR_VOID
-# define CLOSEDIR(d) (closedir(d), 0)
-#else
-# define CLOSEDIR(d) closedir(d)
-#endif
-
#ifndef NO_UTIME
# include <utimens.h>
#endif
#define OFF_T_MAX (~ (off_t) 0 - OFF_T_MIN)
#endif
+#ifndef SIGPIPE
+# define SIGPIPE 0
+#endif
+
/* Use SA_NOCLDSTOP as a proxy for whether the sigaction machinery is
present. */
#ifndef SA_NOCLDSTOP
#ifdef SIGHUP
, SIGHUP
#endif
+#if SIGPIPE
, SIGPIPE
+#endif
#ifdef SIGTERM
, SIGTERM
#endif