diff options
author | Bert Münnich <be.muennich@gmail.com> | 2012-12-27 16:34:51 +0100 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2012-12-27 16:34:51 +0100 |
commit | cd929eabfeb5344b2f7c43555eea20fc15a7f1ca (patch) | |
tree | f12c04e149ae7f1d6f0360a90a63eb39c2347061 | |
parent | b542d63f964f66d14c9118448df4cf332fa023bf (diff) |
Fixed issue #73
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | options.h | 2 | ||||
-rw-r--r-- | types.h | 4 |
4 files changed, 7 insertions, 3 deletions
@@ -4,7 +4,7 @@ PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man CC = gcc -CFLAGS = -ansi -Wall -pedantic -O2 -I$(PREFIX) +CFLAGS = -Wall -pedantic -O2 -I$(PREFIX) LDFLAGS = -L$(PREFIX) LIBS = -lX11 -lImlib2 -lgif @@ -29,11 +29,11 @@ #include <X11/Xutil.h> #include <X11/keysym.h> +#include "types.h" #include "commands.h" #include "image.h" #include "options.h" #include "thumbs.h" -#include "types.h" #include "util.h" #include "window.h" #include "config.h" @@ -19,8 +19,8 @@ #ifndef OPTIONS_H #define OPTIONS_H -#include "image.h" #include "types.h" +#include "image.h" typedef struct { /* file list: */ @@ -1,6 +1,10 @@ #ifndef TYPES_H #define TYPES_H +#undef bool +#undef false +#undef true + typedef enum { false, true |