Fix build with clang/libc++
This commit is contained in:
parent
9a6517879e
commit
0278d5cd6a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327196
1 changed files with 10 additions and 0 deletions
10
games/simplevaders/files/patch-main.cpp
Normal file
10
games/simplevaders/files/patch-main.cpp
Normal 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
|
Loading…
Reference in a new issue