Define sig_t for systems without it. Closes #765
authorAlan T. DeKok <aland@freeradius.org>
Fri, 22 Aug 2014 10:55:12 +0000 (06:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 22 Aug 2014 10:55:12 +0000 (06:55 -0400)
src/include/libradius.h

index f6b2df1..6037672 100644 (file)
@@ -98,6 +98,10 @@ RCSIDH(libradius_h, "$Id$")
 extern "C" {
 #endif
 
+#ifndef HAVE_SIG_T
+typedef void (*sig_t)(int);
+#endif
+
 #if defined(WITH_VERIFY_PTR)
 #  define FREE_MAGIC (0xF4EEF4EE)