color: simplify includes
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7beda0321a
commit
9b35ad7983
4
color.c
4
color.c
|
@ -20,9 +20,11 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <ctype.h>
|
||||||
|
|
||||||
#include "color.h"
|
#include "color.h"
|
||||||
#include "structs.h"
|
#include "structs.h"
|
||||||
#include <ctype.h>
|
#include "common/xutil.h"
|
||||||
|
|
||||||
#define RGB_8TO16(i) (0xffff * ((i) & 0xff) / 0xff)
|
#define RGB_8TO16(i) (0xffff * ((i) & 0xff) / 0xff)
|
||||||
#define RGB_16TO8(i) (0xff * ((i) & 0xffff) / 0xffff)
|
#define RGB_16TO8(i) (0xff * ((i) & 0xffff) / 0xffff)
|
||||||
|
|
Loading…
Reference in New Issue