forked from Mirrors/freeswitch
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:
parent
438dddc668
commit
ad581d8c00
@ -1,4 +1,4 @@
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
||||
#define _XOPEN_SOURCE 600
|
||||
#endif
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user