aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xstdtime/localtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdtime/localtime.c b/stdtime/localtime.c
index ff1fa9815..1f6309e3f 100755
--- a/stdtime/localtime.c
+++ b/stdtime/localtime.c
@@ -21,7 +21,9 @@
*
* Don't mess with these unless you're really sure you know what you're doing.
*/
+#ifndef _THREAD_SAFE
#define _THREAD_SAFE
+#endif
#define TZ_STRLEN_MAX 255
/* #define DEBUG */
#include <asterisk/lock.h>