slackbuilds_ponce/games/yar/missingincludes.diff
B. Watson 6720f1bb30 games/yar: Added (2d shooting game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-05-01 09:13:28 +07:00

13 lines
404 B
Diff

diff -Naur yar-0.99/yar/sgw.hxx yar-0.99.patched/yar/sgw.hxx
--- yar-0.99/yar/sgw.hxx 2003-10-25 04:15:47.000000000 -0400
+++ yar-0.99.patched/yar/sgw.hxx 2014-04-29 12:03:28.000000000 -0400
@@ -24,6 +24,9 @@
#include <iostream>
#include <string>
+#include <cstdio>
+#include <cstdlib>
+#include <cmath>
#define DEFAULT_SCX (1024) // Default Screen Size and Depth
#define DEFAULT_SCY (768)