fix solaris build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14067 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-06-30 21:45:16 +00:00
parent afe7d97f08
commit ad34ee09ff
1 changed files with 13 additions and 1 deletions

View File

@ -4,8 +4,20 @@
* copyright (c) 2005-2007 Thomas Bernard * copyright (c) 2005-2007 Thomas Bernard
* This software is subjet to the conditions detailed in the * This software is subjet to the conditions detailed in the
* provided LICENCE file. */ * provided LICENCE file. */
#include <stdio.h> #define __EXTENSIONS__ 1
#ifndef MACOSX
#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) && !defined(__NetBSD__)
#ifndef __cplusplus
#define _XOPEN_SOURCE 600
#endif
#endif
#ifndef __BSD_VISIBLE
#define __BSD_VISIBLE 1
#endif
#endif
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#ifdef WIN32 #ifdef WIN32
/* Win32 Specific includes and defines */ /* Win32 Specific includes and defines */