[Asterisk-Dev] (no subject)

Thorsten Lockert tholo at sigmasoft.com
Wed Apr 23 10:01:09 MST 2003


This diff adds a #include needed by many, many systems...

Index: dsp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/dsp.c,v
retrieving revision 1.6
diff -u -r1.6 dsp.c
--- dsp.c	26 Mar 2003 17:15:31 -0000	1.6
+++ dsp.c	23 Apr 2003 16:49:41 -0000
@@ -28,6 +28,7 @@
         detriment.
 */
 
+#include <sys/types.h>
 #include <asterisk/frame.h>
 #include <asterisk/channel.h>
 #include <asterisk/channel_pvt.h>
Index: file.c
===================================================================
RCS file: /usr/cvsroot/asterisk/file.c,v
retrieving revision 1.3
diff -u -r1.3 file.c
--- file.c	9 Apr 2003 02:10:29 -0000	1.3
+++ file.c	23 Apr 2003 16:49:41 -0000
@@ -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>
Index: say.c
===================================================================
RCS file: /usr/cvsroot/asterisk/say.c,v
retrieving revision 1.2
diff -u -r1.2 say.c
--- say.c	31 Mar 2003 03:19:34 -0000	1.2
+++ say.c	23 Apr 2003 16:49:42 -0000
@@ -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>
Index: apps/app_adsiprog.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_adsiprog.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 app_adsiprog.c
--- apps/app_adsiprog.c	12 Feb 2003 13:59:13 -0000	1.1.1.1
+++ apps/app_adsiprog.c	23 Apr 2003 16:49:42 -0000
@@ -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>
Index: apps/app_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_agi.c,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 app_agi.c
--- apps/app_agi.c	23 Feb 2003 06:00:08 -0000	1.1.1.4
+++ apps/app_agi.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: apps/app_db.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_db.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 app_db.c
--- apps/app_db.c	16 Mar 2003 22:37:29 -0000	1.1.1.3
+++ apps/app_db.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: apps/app_festival.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_festival.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 app_festival.c
--- apps/app_festival.c	12 Feb 2003 13:59:13 -0000	1.1.1.1
+++ apps/app_festival.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: apps/app_macro.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_macro.c,v
retrieving revision 1.3
diff -u -r1.3 app_macro.c
--- apps/app_macro.c	9 Apr 2003 23:56:15 -0000	1.3
+++ apps/app_macro.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: apps/app_parkandannounce.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_parkandannounce.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 app_parkandannounce.c
--- apps/app_parkandannounce.c	16 Mar 2003 22:37:29 -0000	1.1.1.2
+++ apps/app_parkandannounce.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: apps/app_softhangup.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_softhangup.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 app_softhangup.c
--- apps/app_softhangup.c	21 Feb 2003 06:00:08 -0000	1.1.1.1
+++ apps/app_softhangup.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: apps/app_striplsd.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_striplsd.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 app_striplsd.c
--- apps/app_striplsd.c	12 Feb 2003 13:59:14 -0000	1.1.1.1
+++ apps/app_striplsd.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: apps/app_substring.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_substring.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 app_substring.c
--- apps/app_substring.c	18 Mar 2003 06:00:15 -0000	1.1.1.2
+++ apps/app_substring.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: apps/app_waitforring.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_waitforring.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 app_waitforring.c
--- apps/app_waitforring.c	23 Feb 2003 06:00:08 -0000	1.1.1.1
+++ apps/app_waitforring.c	23 Apr 2003 16:49:43 -0000
@@ -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>
Index: cdr/cdr_csv.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_csv.c,v
retrieving revision 1.2
diff -u -r1.2 cdr_csv.c
--- cdr/cdr_csv.c	31 Mar 2003 03:19:34 -0000	1.2
+++ cdr/cdr_csv.c	23 Apr 2003 16:49:43 -0000
@@ -14,6 +14,7 @@
  *
  */
 
+#include <sys/types.h>
 #include <asterisk/channel.h>
 #include <asterisk/cdr.h>
 #include <asterisk/module.h>
Index: cdr/cdr_mysql.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_mysql.c,v
retrieving revision 1.3
diff -u -r1.3 cdr_mysql.c
--- cdr/cdr_mysql.c	31 Mar 2003 03:19:34 -0000	1.3
+++ cdr/cdr_mysql.c	23 Apr 2003 16:49:43 -0000
@@ -10,7 +10,7 @@
  *
  */
 
-
+#include <sys/types.h>
 #include <asterisk/config.h>
 #include <asterisk/options.h>
 #include <asterisk/channel.h>
Index: channels/iax2-parser.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/iax2-parser.c,v
retrieving revision 1.3
diff -u -r1.3 iax2-parser.c
--- channels/iax2-parser.c	19 Apr 2003 18:12:41 -0000	1.3
+++ channels/iax2-parser.c	23 Apr 2003 16:49:47 -0000
@@ -11,6 +11,7 @@
  * the GNU General Public License
  */
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <string.h>
 #include <netinet/in.h>
Index: formats/format_jpeg.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_jpeg.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 format_jpeg.c
--- formats/format_jpeg.c	12 Feb 2003 13:59:15 -0000	1.1.1.1
+++ formats/format_jpeg.c	23 Apr 2003 16:49:49 -0000
@@ -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>
Index: pbx/pbx_config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_config.c,v
retrieving revision 1.3
diff -u -r1.3 pbx_config.c
--- pbx/pbx_config.c	6 Apr 2003 18:19:51 -0000	1.3
+++ pbx/pbx_config.c	23 Apr 2003 16:49:49 -0000
@@ -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>
Index: pbx/pbx_gtkconsole.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_gtkconsole.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 pbx_gtkconsole.c
--- pbx/pbx_gtkconsole.c	16 Mar 2003 22:37:31 -0000	1.1.1.2
+++ pbx/pbx_gtkconsole.c	23 Apr 2003 16:49:50 -0000
@@ -19,7 +19,7 @@
  * linked (see the Makefile)
  */
 
-
+#include <sys/types.h>
 #include <asterisk/pbx.h>
 #include <asterisk/config.h>
 #include <asterisk/module.h>
Index: res/res_crypto.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_crypto.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 res_crypto.c
--- res/res_crypto.c	12 Feb 2003 13:59:15 -0000	1.1.1.1
+++ res/res_crypto.c	23 Apr 2003 16:49:50 -0000
@@ -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>
--
Thorsten Lockert      | tholo at sigmasoft.com | Universe, n.:
2121 N. Lakeshore Dr. | tholo at openbsd.org   |         The problem.
Chapel Hill, NC 27514 |                     |



More information about the asterisk-dev mailing list