From 9b35ad7983df365cad15322588c20b86aff7ded2 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 18 Apr 2009 14:00:34 +0200 Subject: [PATCH] color: simplify includes Signed-off-by: Julien Danjou --- color.c | 4 +++- color.h | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 {