Browse code

Solaris build fix

git-svn: trunk@4777

Török Edvin authored on 2009/02/13 20:20:48
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Fri Feb 13 13:48:54 EET 2009 (edwin)
2
+------------------------------------
3
+ * clamav-milter/netcode.c: Solaris build fix
4
+
1 5
 Fri Feb 13 13:34:21 EET 2009 (edwin)
2 6
 ------------------------------------
3 7
  * clamav-milter/, clamd/, clamdscan/, shared/: fix Solaris build
... ...
@@ -22,6 +22,8 @@
22 22
 #include "clamav-config.h"
23 23
 #endif
24 24
 
25
+/* for Solaris, so that both FDPassing and IPV6 work */
26
+#define __EXTENSIONS__
25 27
 /* must be first because it may define _XOPEN_SOURCE */
26 28
 #include "shared/fdpassing.h"
27 29
 #include <stdio.h>