]> sjero.net Git - wget/blobdiff - src/sysdep.h
[svn] Only set a flag in the SIGWINCH handler.
[wget] / src / sysdep.h
index e58daf331e5776017ab8eed830f8a695aec68ff5..3275ad4c7a6f3d8482b7848aeb9f0ae5a4b46398 100644 (file)
@@ -252,6 +252,11 @@ void *memcpy ();
 int fnmatch ();
 #endif
 
+/* Provide sig_atomic_t if the system doesn't.  */
+#ifndef HAVE_SIG_ATOMIC_T
+typedef int sig_atomic_t;
+#endif
+
 /* Provide uint32_t on the platforms that don't define it.  Although
    most code should be agnostic about integer sizes, some code really
    does need a 32-bit integral type.  Such code should use uint32_t.