1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-23 20:51:43 +00:00

Fix build with clang/libc++

This commit is contained in:
Dmitry Marakasov 2013-09-14 01:14:08 +00:00
parent 9a6517879e
commit 0278d5cd6a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327196

View File

@ -0,0 +1,10 @@
--- main.cpp.orig 2013-09-13 20:45:37.434226771 +0400
+++ main.cpp 2013-09-13 20:46:02.845227068 +0400
@@ -34,6 +34,7 @@
#include <SDL/SDL_image.h>
#include <math.h>
#include <string.h>
+#include <unistd.h> // for usleep()
#define ALIEN_SHOOT_DELAY rand() % 5000/(level/5.0f);
#define NUM_PSYS 20