diff options
author | joerg <joerg@pkgsrc.org> | 2013-06-13 21:42:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-06-13 21:42:22 +0000 |
commit | 263a9d4a1a474e5dbb3cd5e65db1afbb4c3fa873 (patch) | |
tree | 636de1712170cd34fa8e91c31378682a891556be /games/xye/patches/patch-src_gen.cpp | |
parent | fed51c1bee26dc527ef6b06a94461a2139787581 (diff) | |
download | pkgsrc-263a9d4a1a474e5dbb3cd5e65db1afbb4c3fa873.tar.gz |
Fix redefinition in the same scope. Add missing unistd.h.
Diffstat (limited to 'games/xye/patches/patch-src_gen.cpp')
-rw-r--r-- | games/xye/patches/patch-src_gen.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games/xye/patches/patch-src_gen.cpp b/games/xye/patches/patch-src_gen.cpp index fa2f3b8188d..bc93f1c9486 100644 --- a/games/xye/patches/patch-src_gen.cpp +++ b/games/xye/patches/patch-src_gen.cpp @@ -1,12 +1,13 @@ -$NetBSD: patch-src_gen.cpp,v 1.2 2013/06/09 06:30:14 ryoon Exp $ +$NetBSD: patch-src_gen.cpp,v 1.3 2013/06/13 21:42:22 joerg Exp $ ---- src/gen.cpp.orig 2013-06-09 06:21:13.000000000 +0000 +--- src/gen.cpp.orig 2013-06-13 19:51:44.000000000 +0000 +++ src/gen.cpp -@@ -21,6 +21,7 @@ Permission is granted to anyone to use t +@@ -21,6 +21,8 @@ Permission is granted to anyone to use t #include<cstdio> #include<iostream> #include<fstream> +#include<ctime> ++#include <unistd.h> const float F_RAND_MAX = (float)(RAND_MAX); |