diff --git a/color.c b/color.c index 15b85381..52474bc2 100644 --- a/color.c +++ b/color.c @@ -20,9 +20,11 @@ * */ +#include + #include "color.h" #include "structs.h" -#include +#include "common/xutil.h" #define RGB_8TO16(i) (0xffff * ((i) & 0xff) / 0xff) #define RGB_16TO8(i) (0xff * ((i) & 0xffff) / 0xffff) diff --git a/color.h b/color.h index 7fdc3a68..6e010890 100644 --- a/color.h +++ b/color.h @@ -23,7 +23,8 @@ #ifndef AWESOME_COLOR_H #define AWESOME_COLOR_H -#include "common/xutil.h" +#include +#include typedef struct {