mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
FS-10431: [mod_smpp] fix build on newer compilers due to malformed system headers
This commit is contained in:
parent
8c8a4dd0f8
commit
823b5bc6f8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user