Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r 78e9bad9dae3 BBGE/DeflateCompressor.cpp
- --- a/BBGE/DeflateCompressor.cpp Sun Apr 01 21:34:26 2012 +0200
- +++ b/BBGE/DeflateCompressor.cpp Sat May 12 17:46:47 2012 +0200
- @@ -1,6 +1,6 @@
- #include "Base.h"
- -#include <zutil.h>
- +// #include <zutil.h>
- #include <zlib.h>
- #include "DeflateCompressor.h"
- @@ -39,7 +39,7 @@
- c_stream.zfree = (free_func)Z_NULL;
- c_stream.opaque = (voidpf)Z_NULL;
- - if (Z_OK != deflateInit2(&c_stream, level, Z_DEFLATED, wbits, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY))
- + if (Z_OK != deflateInit2(&c_stream, level, Z_DEFLATED, wbits, 8, Z_DEFAULT_STRATEGY))
- {
- *dst_size = 0;
- return;
- diff -r 78e9bad9dae3 BBGE/Joystick.cpp
- --- a/BBGE/Joystick.cpp Sun Apr 01 21:34:26 2012 +0200
- +++ b/BBGE/Joystick.cpp Sat May 12 17:46:47 2012 +0200
- @@ -72,6 +72,7 @@
- #include <linux/input.h>
- #include <errno.h>
- #include <iostream>
- +#include <unistd.h>
- #define BITS_TO_LONGS(x) \
- (((x) + 8 * sizeof (unsigned long) - 1) / (8 * sizeof (unsigned long)))
- diff -r 78e9bad9dae3 BBGE/SoundManager.cpp
- --- a/BBGE/SoundManager.cpp Sun Apr 01 21:34:26 2012 +0200
- +++ b/BBGE/SoundManager.cpp Sat May 12 17:46:47 2012 +0200
- @@ -18,6 +18,7 @@
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
- +#include <unistd.h>
- #include "SoundManager.h"
- #include "Core.h"
- #include "Base.h"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement