Module: kamailio
Branch: master
Commit: 3ada08521de545f76e7d85d6fdf900c576c67664
URL:
https://github.com/kamailio/kamailio/commit/3ada08521de545f76e7d85d6fdf900c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-20T17:28:32+01:00
core: flags - moved xflags functions out of disabled ifdef zone
---
Modified: src/core/flags.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3ada08521de545f76e7d85d6fdf900c…
Patch:
https://github.com/kamailio/kamailio/commit/3ada08521de545f76e7d85d6fdf900c…
---
diff --git a/src/core/flags.c b/src/core/flags.c
index 043824895f..45839d90cd 100644
--- a/src/core/flags.c
+++ b/src/core/flags.c
@@ -27,6 +27,7 @@
#include <limits.h>
+#include <stdint.h>
#include "sr_module.h"
#include "dprint.h"
#include "parser/msg_parser.h"
@@ -317,6 +318,8 @@ static int fixup_t_flag(void** param, int param_no)
return E_CFG;
}
+#endif
+
/**
*
*/
@@ -354,5 +357,3 @@ int isxflagset(struct sip_msg* msg, flag_t flag)
fb = flag % (sizeof(flag_t)*CHAR_BIT);
return (msg->xflags[fi] & (1<<fb)) ? 1 : -1;
}
-
-#endif