Browse Source

mi_xmlrpc: define TRUE/FALSE if not defined

- reported by GH #885
Daniel-Constantin Mierla 8 years ago
parent
commit
1bba5faf5c
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/modules/mi_xmlrpc/abyss_data.c

+ 8 - 0
src/modules/mi_xmlrpc/abyss_data.c

@@ -45,6 +45,14 @@
 
 #include "abyss_data.h"
 
+#ifndef TRUE
+#define TRUE	1
+#endif	/* TRUE */
+
+#ifndef FALSE
+#define FALSE    0
+#endif  /* FALSE */
+
 /*********************************************************************
 ** List
 *********************************************************************/