Forráskód Böngészése

core: flags - moved xflags functions out of disabled ifdef zone

Daniel-Constantin Mierla 7 éve
szülő
commit
3ada08521d
1 módosított fájl, 3 hozzáadás és 2 törlés
  1. 3 2
      src/core/flags.c

+ 3 - 2
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 @@ error:
 	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