Browse code

make sure XSI strerror_r is used.

git-svn: trunk@4931

Török Edvin authored on 2009/03/12 23:24:53
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Mar 12 16:24:48 EET 2009 (edwin)
2
+------------------------------------
3
+ * libclamav/others_common.c: make sure XSI strerror_r is used.
4
+
1 5
 Wed Mar 11 22:10:22 EET 2009 (edwin)
2 6
 ------------------------------------
3 7
  * libclamav/phishcheck.c: fix warnings
... ...
@@ -23,6 +23,10 @@
23 23
 #include "clamav-config.h"
24 24
 #endif
25 25
 
26
+#ifdef C_LINUX
27
+#define _X_OPEN_SOURCE 600
28
+#endif
29
+
26 30
 #include <stdio.h>
27 31
 #include <stdarg.h>
28 32
 #include <string.h>