aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapps/app_adsiprog.c1
-rwxr-xr-xapps/app_agi.c1
-rwxr-xr-xapps/app_db.c1
-rwxr-xr-xapps/app_festival.c1
-rwxr-xr-xapps/app_macro.c1
-rwxr-xr-xapps/app_parkandannounce.c1
-rwxr-xr-xapps/app_softhangup.c1
-rwxr-xr-xapps/app_striplsd.c1
-rwxr-xr-xapps/app_substring.c1
-rwxr-xr-xapps/app_waitforring.c1
-rwxr-xr-xcdr/cdr_csv.c1
-rwxr-xr-xcdr/cdr_mysql.c2
-rwxr-xr-xchannels/iax2-parser.c1
-rwxr-xr-xdsp.c1
-rwxr-xr-xfile.c1
-rwxr-xr-xformats/format_jpeg.c1
-rwxr-xr-xpbx/pbx_config.c1
-rwxr-xr-xpbx/pbx_gtkconsole.c2
-rwxr-xr-xres/res_crypto.c1
-rwxr-xr-xsay.c1
20 files changed, 20 insertions, 2 deletions
diff --git a/apps/app_adsiprog.c b/apps/app_adsiprog.c
index 4df6414eb..df0881fc5 100755
--- a/apps/app_adsiprog.c
+++ b/apps/app_adsiprog.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/apps/app_agi.c b/apps/app_agi.c
index dde76a271..7c28daa44 100755
--- a/apps/app_agi.c
+++ b/apps/app_agi.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/apps/app_db.c b/apps/app_db.c
index c2c210472..64850c0ba 100755
--- a/apps/app_db.c
+++ b/apps/app_db.c
@@ -13,6 +13,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/options.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
diff --git a/apps/app_festival.c b/apps/app_festival.c
index 1e88fff8e..4801edc4a 100755
--- a/apps/app_festival.c
+++ b/apps/app_festival.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/apps/app_macro.c b/apps/app_macro.c
index eec120575..53235e34f 100755
--- a/apps/app_macro.c
+++ b/apps/app_macro.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/apps/app_parkandannounce.c b/apps/app_parkandannounce.c
index 2c53652fa..072d55189 100755
--- a/apps/app_parkandannounce.c
+++ b/apps/app_parkandannounce.c
@@ -14,6 +14,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/apps/app_softhangup.c b/apps/app_softhangup.c
index b245bb926..497f03860 100755
--- a/apps/app_softhangup.c
+++ b/apps/app_softhangup.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/apps/app_striplsd.c b/apps/app_striplsd.c
index 7b078385c..cc82d99cb 100755
--- a/apps/app_striplsd.c
+++ b/apps/app_striplsd.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/apps/app_substring.c b/apps/app_substring.c
index 4d3ccceb3..fd144d710 100755
--- a/apps/app_substring.c
+++ b/apps/app_substring.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/apps/app_waitforring.c b/apps/app_waitforring.c
index 06a18a7d8..3fcfa9a03 100755
--- a/apps/app_waitforring.c
+++ b/apps/app_waitforring.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
#include <asterisk/channel.h>
diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c
index 17170a990..8031b4abe 100755
--- a/cdr/cdr_csv.c
+++ b/cdr/cdr_csv.c
@@ -14,6 +14,7 @@
*
*/
+#include <sys/types.h>
#include <asterisk/channel.h>
#include <asterisk/cdr.h>
#include <asterisk/module.h>
diff --git a/cdr/cdr_mysql.c b/cdr/cdr_mysql.c
index f28562998..9d8ff3f43 100755
--- a/cdr/cdr_mysql.c
+++ b/cdr/cdr_mysql.c
@@ -10,7 +10,7 @@
*
*/
-
+#include <sys/types.h>
#include <asterisk/config.h>
#include <asterisk/options.h>
#include <asterisk/channel.h>
diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c
index 1e512a044..73fca93e5 100755
--- a/channels/iax2-parser.c
+++ b/channels/iax2-parser.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <sys/socket.h>
#include <string.h>
#include <netinet/in.h>
diff --git a/dsp.c b/dsp.c
index a969f043d..195a0da39 100755
--- a/dsp.c
+++ b/dsp.c
@@ -28,6 +28,7 @@
detriment.
*/
+#include <sys/types.h>
#include <asterisk/frame.h>
#include <asterisk/channel.h>
#include <asterisk/channel_pvt.h>
diff --git a/file.c b/file.c
index bcc531988..466b8aa5a 100755
--- a/file.c
+++ b/file.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/frame.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
diff --git a/formats/format_jpeg.c b/formats/format_jpeg.c
index 4e9f0f4c3..2d9b3e473 100755
--- a/formats/format_jpeg.c
+++ b/formats/format_jpeg.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/channel.h>
#include <asterisk/file.h>
#include <asterisk/logger.h>
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index baed0f9fe..7e8c11c9c 100755
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/pbx.h>
#include <asterisk/config.h>
#include <asterisk/module.h>
diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c
index ebb71ff71..4a6db3c87 100755
--- a/pbx/pbx_gtkconsole.c
+++ b/pbx/pbx_gtkconsole.c
@@ -19,7 +19,7 @@
* linked (see the Makefile)
*/
-
+#include <sys/types.h>
#include <asterisk/pbx.h>
#include <asterisk/config.h>
#include <asterisk/module.h>
diff --git a/res/res_crypto.c b/res/res_crypto.c
index 61eb1328e..94263bea9 100755
--- a/res/res_crypto.c
+++ b/res/res_crypto.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/channel.h>
#include <asterisk/logger.h>
diff --git a/say.c b/say.c
index fec0812a5..9e47abad9 100755
--- a/say.c
+++ b/say.c
@@ -11,6 +11,7 @@
* the GNU General Public License
*/
+#include <sys/types.h>
#include <asterisk/file.h>
#include <asterisk/channel.h>
#include <asterisk/logger.h>