A small patch for building on Solaris and Illumos

Ian Collins ian at ianshome.com
Sun Mar 23 21:34:05 CET 2014


Hello,

I would like to submit a small patch to enable clean building of 2.2.4 
on Solaris 11 and Illumos.  Only two small changes are required:

src/include/sysutmp.h:

Line 17:
-#if !defined(sun) && !defined(sgi) && !defined(hpux)
+#if !defined(__sun) && !defined(sgi) && !defined(hpux)

src/include/libradius.h
After line 74:

+#if defined(__sun)
+  typedef void(*sig_t)(int);
+#endif
+

-- 
Ian.



More information about the Freeradius-Devel mailing list