[Asterisk-cvs] asterisk/include/asterisk file.h,1.29,1.30

kpfleming kpfleming
Tue Nov 8 21:13:29 CST 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv26129/include/asterisk

Modified Files:
	file.h 
Log Message:
issue #5658, different fix


Index: file.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/file.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- file.h	26 Oct 2005 23:11:36 -0000	1.29
+++ file.h	9 Nov 2005 02:04:27 -0000	1.30
@@ -23,6 +23,10 @@
 #ifndef _ASTERISK_FILE_H
 #define _ASTERISK_FILE_H
 
+#ifndef stdin
+#error You must include stdio.h before file.h!
+#endif /* !stdin */
+
 #include "asterisk/channel.h"
 #include "asterisk/frame.h"
 #include <fcntl.h>




More information about the svn-commits mailing list