]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10431: [mod_smpp] fix build on newer compilers due to malformed system headers
authorMike Jerris <mike@jerris.com>
Tue, 27 Jun 2017 22:06:39 +0000 (17:06 -0500)
committerroot <root@debian9.tollfreegateway.com>
Tue, 27 Jun 2017 22:06:39 +0000 (17:06 -0500)
src/mod/event_handlers/mod_smpp/mod_smpp.h

index 3320a7829bfb3d3593f66598dcdd8bdb975731a2..13828b32a52b84973df064fc58f9f8500a4fb936 100644 (file)
 #define MOD_SMPP_H
 
 #include <switch.h>
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpedantic"
+#endif
 #include <smpp34.h>
 #include <smpp34_structs.h>
 #include <smpp34_params.h>
-
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
 typedef struct mod_smpp_globals_s {
        switch_memory_pool_t *pool;
        switch_hash_t *gateways;