0002-include-headers.patch 3.33 KB
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 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