]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add missing header file to sangoma_tdm_api.h.
authorMichael Jerris <mike@jerris.com>
Sun, 20 May 2007 10:35:07 +0000 (10:35 +0000)
committerMichael Jerris <mike@jerris.com>
Sun, 20 May 2007 10:35:07 +0000 (10:35 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@52 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/include/sangoma_tdm_api.h
libs/freetdm/src/zap_wanpipe.c

index a795507c920ef9e70bbce2295edc4d1685c9f194..24f601c2de2c3fc174d64e1bfe086b0025af5ea9 100644 (file)
@@ -72,6 +72,7 @@ struct iphdr {
 #define WP_INVALID_SOCKET -1
 #include <stropts.h>
 #include <poll.h>
+#include <sys/socket.h>
 #endif
 
 #include <wanpipe_defines.h>
index 013da15be51423bf1c0c0561ed045ebeb73dca0f..9b5fbf43da52a4f6411b4ec54aac26f0118899ca 100644 (file)
 
 #include <sangoma_tdm_api.h>
 
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
-
-
 static struct {
        unsigned codec_ms;
 } wp_globals;