]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
build tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 15 Jun 2007 22:07:53 +0000 (22:07 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 15 Jun 2007 22:07:53 +0000 (22:07 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@262 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/include/zap_types.h
libs/freetdm/src/zap_analog.c
libs/freetdm/src/zap_wanpipe.c

index b81f5338c1c9cd4c43557b9687e550d120621dc7..7eb9bbff0d04a9ade785d81ff63eca085d21112f 100644 (file)
@@ -50,6 +50,8 @@ typedef intptr_t zap_ssize_t;
 typedef int zap_filehandle_t;
 #else
 #include <stdint.h>
+#include <sys/types.h>
+#include <sys/ioctl.h>
 typedef int zap_socket_t;
 typedef ssize_t zap_ssize_t;
 typedef int zap_filehandle_t;
index adaa0ad2a036a514edea0fb3d6b2103e1deeb728..91f982a2f47690ba71a2c4c85cc10efe2bfbe562 100644 (file)
 #include "openzap.h"
 #include "zap_analog.h"
 
+#ifndef localtime_r
+struct tm * localtime_r(const time_t *clock, struct tm *result);
+#endif
+
+
 static void *zap_analog_channel_run(zap_thread_t *me, void *obj);
 
 static ZIO_CHANNEL_OUTGOING_CALL_FUNCTION(analog_fxo_outgoing_call)
index 01a3f469d96377096654c9a56c9a857a3c82212b..6ea3a98b3ea317bd280c4deaad65fe78884a9c45 100644 (file)
@@ -33,7 +33,6 @@
 
 #include "openzap.h"
 #include "zap_wanpipe.h"
-#include <stropts.h>
 #include <poll.h>
 #include <sys/socket.h>
 #include <wanpipe_tdm_api_iface.h>