Krolyxon
Commit cd929ea

Branches

Refs →

nsxivcd929ea

Fixed issue #73

Author
Bert Münnich
Date
2012-12-27 16:34 +0100
Parent
b542d63
Commit
cd929eabfeb5344b2f7c43555eea20fc15a7f1ca

+7 −3

4 files changed

  1. M Makefile +1 −1
  2. M main.c +1 −1
  3. M options.h +1 −1
  4. M types.h +4 −0
M Makefile View
@@ -4,7 +4,7 @@ PREFIX = /usr/local
44 MANPREFIX = $(PREFIX)/share/man
55
66 CC = gcc
7−CFLAGS = -ansi -Wall -pedantic -O2 -I$(PREFIX)
7+CFLAGS = -Wall -pedantic -O2 -I$(PREFIX)
88 LDFLAGS = -L$(PREFIX)
99 LIBS = -lX11 -lImlib2 -lgif
1010
M main.c View
@@ -29,11 +29,11 @@
2929 #include <X11/Xutil.h>
3030 #include <X11/keysym.h>
3131
32+#include "types.h"
3233 #include "commands.h"
3334 #include "image.h"
3435 #include "options.h"
3536 #include "thumbs.h"
36−#include "types.h"
3737 #include "util.h"
3838 #include "window.h"
3939 #include "config.h"
M options.h View
@@ -19,8 +19,8 @@
1919 #ifndef OPTIONS_H
2020 #define OPTIONS_H
2121
22−#include "image.h"
2322 #include "types.h"
23+#include "image.h"
2424
2525 typedef struct {
2626 /* file list: */
M types.h View
@@ -1,6 +1,10 @@
11 #ifndef TYPES_H
22 #define TYPES_H
33
4+#undef bool
5+#undef false
6+#undef true
7+
48 typedef enum {
59 false,
610 true