diff --git a/libs/freetdm/src/include/sangoma_tdm_api.h b/libs/freetdm/src/include/sangoma_tdm_api.h index a795507c92..24f601c2de 100644 --- a/libs/freetdm/src/include/sangoma_tdm_api.h +++ b/libs/freetdm/src/include/sangoma_tdm_api.h @@ -72,6 +72,7 @@ struct iphdr { #define WP_INVALID_SOCKET -1 #include #include +#include #endif #include diff --git a/libs/freetdm/src/zap_wanpipe.c b/libs/freetdm/src/zap_wanpipe.c index 013da15be5..9b5fbf43da 100644 --- a/libs/freetdm/src/zap_wanpipe.c +++ b/libs/freetdm/src/zap_wanpipe.c @@ -38,11 +38,6 @@ #include -#ifdef HAVE_SYS_SOCKET_H -#include -#endif - - static struct { unsigned codec_ms; } wp_globals;