color: simplify includes

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-18 14:00:34 +02:00
parent 7beda0321a
commit 9b35ad7983
2 changed files with 5 additions and 2 deletions

View File

@ -20,9 +20,11 @@
*
*/
#include <ctype.h>
#include "color.h"
#include "structs.h"
#include <ctype.h>
#include "common/xutil.h"
#define RGB_8TO16(i) (0xffff * ((i) & 0xff) / 0xff)
#define RGB_16TO8(i) (0xff * ((i) & 0xffff) / 0xffff)

View File

@ -23,7 +23,8 @@
#ifndef AWESOME_COLOR_H
#define AWESOME_COLOR_H
#include "common/xutil.h"
#include <xcb/xcb.h>
#include <stdbool.h>
typedef struct
{