* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
[pspp] / lib / signal_.h
index 685bcaeb948108f551b55f78a54984e47017e882..b62d7a7a3f876a2ce3336a4c9edb06dae8266edd 100644 (file)
 #if defined __need_sig_atomic_t || defined __need_sigset_t
 /* Special invocation convention inside glibc header files.  */
 
-#include @ABSOLUTE_SIGNAL_H@
+# @INCLUDE_NEXT@ @NEXT_SIGNAL_H@
 
 #else
 /* Normal invocation convention.  */
 
 #ifndef _GL_SIGNAL_H
-#define _GL_SIGNAL_H
 
-#include @ABSOLUTE_SIGNAL_H@
+/* The include_next requires a split double-inclusion guard.  */
+#@INCLUDE_NEXT@ @NEXT_SIGNAL_H@
 
+#ifndef _GL_SIGNAL_H
+#define _GL_SIGNAL_H
 
 /* The definition of GL_LINK_WARNING is copied here.  */
 
@@ -91,5 +93,6 @@ extern int sigprocmask (int operation, const sigset_t *set, sigset_t *old_set);
 }
 #endif
 
+#endif /* _GL_SIGNAL_H */
 #endif /* _GL_SIGNAL_H */
 #endif