diff options
Diffstat (limited to 'testing/sems/0002-include-headers.patch')
-rw-r--r-- | testing/sems/0002-include-headers.patch | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/testing/sems/0002-include-headers.patch b/testing/sems/0002-include-headers.patch new file mode 100644 index 00000000..5e9a2477 --- /dev/null +++ b/testing/sems/0002-include-headers.patch @@ -0,0 +1,116 @@ +From 43faa45d0455c5bb53a0f992ffc7bdf92c94c945 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Fri, 18 Dec 2009 08:58:18 +0000 +Subject: [PATCH 2/2] include headers + +--- + apps/annrecorder/AnnRecorder.cpp | 2 ++ + apps/callback/CallBack.cpp | 1 + + apps/diameter_client/ServerConnection.cpp | 1 + + apps/diameter_client/ServerConnection.h | 1 + + core/AmMediaProcessor.cpp | 1 + + core/AmRtpReceiver.cpp | 1 + + core/plug-in/sipctrl/udp_trsp.cpp | 1 + + core/plug-in/stats/query_stats.cxx | 1 + + 8 files changed, 9 insertions(+), 0 deletions(-) + +diff --git a/apps/annrecorder/AnnRecorder.cpp b/apps/annrecorder/AnnRecorder.cpp +index b32cd58..7ba9639 100644 +--- a/apps/annrecorder/AnnRecorder.cpp ++++ b/apps/annrecorder/AnnRecorder.cpp +@@ -25,6 +25,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <unistd.h> ++ + #include "AnnRecorder.h" + #include "AmConfig.h" + #include "AmUtils.h" +diff --git a/apps/callback/CallBack.cpp b/apps/callback/CallBack.cpp +index 360e698..6019705 100644 +--- a/apps/callback/CallBack.cpp ++++ b/apps/callback/CallBack.cpp +@@ -32,6 +32,7 @@ + #include "AmPlugIn.h" + + #include <stdlib.h> ++#include <unistd.h> + + EXPORT_SESSION_FACTORY(CallBackFactory,MOD_NAME); + string CallBackFactory::gw_user; +diff --git a/apps/diameter_client/ServerConnection.cpp b/apps/diameter_client/ServerConnection.cpp +index 4157304..3e2a14f 100644 +--- a/apps/diameter_client/ServerConnection.cpp ++++ b/apps/diameter_client/ServerConnection.cpp +@@ -30,6 +30,7 @@ + #include "ampi/DiameterClientAPI.h" + #include "diameter_client.h" + ++#include <unistd.h> + #include <stdlib.h> + #include <string.h> + #include "log.h" +diff --git a/apps/diameter_client/ServerConnection.h b/apps/diameter_client/ServerConnection.h +index d797d15..0af146a 100644 +--- a/apps/diameter_client/ServerConnection.h ++++ b/apps/diameter_client/ServerConnection.h +@@ -38,6 +38,7 @@ + #include <vector> + #include <map> + #include <utility> ++#include <stdint.h> + using std::string; + using std::vector; + using std::map; +diff --git a/core/AmMediaProcessor.cpp b/core/AmMediaProcessor.cpp +index 9650c91..0da86b0 100644 +--- a/core/AmMediaProcessor.cpp ++++ b/core/AmMediaProcessor.cpp +@@ -29,6 +29,7 @@ + #include "AmSession.h" + #include "AmRtpStream.h" + ++#include <unistd.h> + #include <assert.h> + #include <sys/time.h> + #include <signal.h> +diff --git a/core/AmRtpReceiver.cpp b/core/AmRtpReceiver.cpp +index 5216b15..7f7fb4a 100644 +--- a/core/AmRtpReceiver.cpp ++++ b/core/AmRtpReceiver.cpp +@@ -37,6 +37,7 @@ + #include <strings.h> + #endif + ++#include <unistd.h> + #include <sys/time.h> + #include <sys/poll.h> + +diff --git a/core/plug-in/sipctrl/udp_trsp.cpp b/core/plug-in/sipctrl/udp_trsp.cpp +index 49a8358..74f00ae 100644 +--- a/core/plug-in/sipctrl/udp_trsp.cpp ++++ b/core/plug-in/sipctrl/udp_trsp.cpp +@@ -36,6 +36,7 @@ + #include <sys/param.h> + #include <arpa/inet.h> + ++#include <unistd.h> + #include <errno.h> + #include <string.h> + +diff --git a/core/plug-in/stats/query_stats.cxx b/core/plug-in/stats/query_stats.cxx +index 674f16c..10c498a 100644 +--- a/core/plug-in/stats/query_stats.cxx ++++ b/core/plug-in/stats/query_stats.cxx +@@ -7,6 +7,7 @@ + #include <netinet/in.h> + #include <arpa/inet.h> + #include <stdlib.h> ++#include <unistd.h> + + #include <map> + #include <string> +-- +1.6.5.6 + |