FS-10431: [mod_smpp] fix build on newer compilers due to malformed system headers

This commit is contained in:
Mike Jerris 2017-06-27 17:06:39 -05:00
parent edec9694c4
commit e444852e0f
1 changed files with 7 additions and 1 deletions

View File

@ -35,10 +35,16 @@
#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;