From 2bf228cc6c47dc620aedb3f614ae07fa67b7ed72 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 12 Oct 2008 11:07:27 +0000 Subject: [PATCH] Fixups for building under linux... git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@235 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- Makefile | 4 ++-- hotkeys.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8b5a1f0d..6161e54e 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Windows specific - ifdef COMSPEC +ifdef COMSPEC DELCOMMAND = del BIN = grafx2.exe CFGBIN = gfxcfg.exe @@ -39,7 +39,7 @@ else else BIN = grafx2 CFGBIN = gfxcfg - COPT = -Wall -c -g + COPT = -Wall -c -g `sdl-config --cflags` LOPT = -lSDL -o $(BIN) CC = gcc endif diff --git a/hotkeys.h b/hotkeys.h index a9bfc7c9..13c465b2 100644 --- a/hotkeys.h +++ b/hotkeys.h @@ -20,6 +20,7 @@ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include +#include /*** Types definitions and structs ***/