Added <stdbool.h> for standard bool definitions
[dockapps/wmnotify.git] / src / common.h
index 9a3d3e8..e8ee901 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdbool.h>
 #include <errno.h>
 
 #if STDC_HEADERS
 #  define EXIT_FAILURE 1
 #endif
 
-typedef int bool;
-#ifndef FALSE
-#  define FALSE 0
-#  define TRUE  1
-#endif
-
-
 /* Returns TRUE if the strings 'a' and 'b' are equal. */
 #define STREQ(a, b) (strcmp((a), (b)) == 0)