Permalink
Browse files

Fixes compile errors on osx

  • Loading branch information...
1 parent e08f5b2 commit efa531abea9a34aaf906a85a17f13e237f2587cb @vimalloc committed Nov 24, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/game.c
  2. +1 −1 src/makefile
View
@@ -163,7 +163,7 @@ handler_t* sigaction_wrapper(int signum, handler_t *handler) {
}
-int main() {
+int main(int argc, char *argv[]) {
/* Signal handlers */
sigaction_wrapper(SIGINT, sigint_handler);
View
@@ -1,5 +1,5 @@
CC = gcc
-CPPFLAGS += -g -Wall `sdl-config --cflags` -o $@
+CPPFLAGS += -g -Wall `sdl-config --cflags --libs` -o $@
ALL : Invaders

0 comments on commit efa531a

Please sign in to comment.