]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5956: fix __sputc included twice due to stdio.h inlining issue
authorMichael Jerris <mike@jerris.com>
Wed, 29 Jan 2014 16:39:03 +0000 (11:39 -0500)
committerMichael Jerris <mike@jerris.com>
Wed, 29 Jan 2014 16:41:49 +0000 (11:41 -0500)
libs/srtp/crypto/include/crypto_math.h
libs/srtp/crypto/include/datatypes.h
libs/srtp/crypto/kernel/crypto_kernel.c
libs/srtp/crypto/kernel/err.c

index 52f083721d07f5e4464cbb0c55198b33e5020cb6..5ddf4d5f4266a009835807fcb25410b4640838fe 100644 (file)
 #define MATH_H
 
 #include "datatypes.h"
+#ifndef SRTP_KERNEL
+# include <stdio.h>
+#endif
+
 
 unsigned char
 v32_weight(v32_t a);
index 6f18e9ebbf1bbb7b42dfb1086f3b0805933534f4..055f4b7cac3cba70c20b5edcadf1522c5cfbf483 100644 (file)
@@ -53,7 +53,6 @@
 #include <stdarg.h>
 
 #ifndef SRTP_KERNEL
-# include <stdio.h>
 # include <string.h>
 # include <time.h>
 # ifdef HAVE_NETINET_IN_H
index 90c4a3073a909753cf2fd3c6620614ce84fd36d2..4d7ff0f284d08643a5f8d0019c1cf987c434e900 100644 (file)
@@ -46,6 +46,9 @@
 #include "alloc.h"
 
 #include "crypto_kernel.h"
+#ifndef SRTP_KERNEL
+# include <stdio.h>
+#endif
 
 /* the debug module for the crypto_kernel */
 
index 6b00e7b877374e2319683736888309c4b816054b..f16bbfda91ad72cec006876571af90e1a3008c88 100644 (file)
@@ -43,6 +43,9 @@
  */
 
 #include "err.h"
+#ifndef SRTP_KERNEL
+# include <stdio.h>
+#endif
 
 #ifdef ERR_REPORTING_SYSLOG
 # ifdef HAVE_SYSLOG_H