]> 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)
committerMike Jerris <mike@jerris.com>
Tue, 11 Jul 2017 16:58:30 +0000 (12:58 -0400)
src/mod/event_handlers/mod_smpp/mod_smpp.h

index 318ceb765da34f4f9d77ff645d427902bcd8d7fa..7ec9332bdd7530e0c995ee460b2e6a5b95491ed4 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;