fix openbsd build of libesl (FSBUILD-256)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17070 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2010-03-22 23:02:48 +00:00
parent 438dddc668
commit ad581d8c00
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#ifndef _XOPEN_SOURCE
#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
#define _XOPEN_SOURCE 600
#endif

View File

@ -66,7 +66,7 @@ static void mycallback(esl_socket_t server_sock, esl_socket_t client_sock, struc
handle.sock = -1;
esl_disconnect(&handle);
execl(path_buffer, path_buffer, NULL);
execl(path_buffer, path_buffer, (char *)NULL);
//system(path_buffer);
close(client_sock);
exit(0);

View File

@ -116,7 +116,7 @@ typedef enum {
#define ESL_SEQ_CLEARSCR ESL_SEQ_ESC ESL_SEQ_CLEARSCR_CHAR ESL_SEQ_HOME
#endif
#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__NetBSD__)
#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
#define _XOPEN_SOURCE 600
#endif