From e444852e0f5a0f21ce3c7a24b65f9a9c7786af09 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Tue, 27 Jun 2017 17:06:39 -0500 Subject: [PATCH] FS-10431: [mod_smpp] fix build on newer compilers due to malformed system headers --- src/mod/event_handlers/mod_smpp/mod_smpp.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mod/event_handlers/mod_smpp/mod_smpp.h b/src/mod/event_handlers/mod_smpp/mod_smpp.h index 318ceb765d..7ec9332bdd 100644 --- a/src/mod/event_handlers/mod_smpp/mod_smpp.h +++ b/src/mod/event_handlers/mod_smpp/mod_smpp.h @@ -35,10 +35,16 @@ #define MOD_SMPP_H #include +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpedantic" +#endif #include #include #include - +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif typedef struct mod_smpp_globals_s { switch_memory_pool_t *pool; switch_hash_t *gateways;