Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 12th, 2012  |  syntax: Diff  |  size: 1.42 KB  |  views: 65  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -r 78e9bad9dae3 BBGE/DeflateCompressor.cpp
  2. --- a/BBGE/DeflateCompressor.cpp        Sun Apr 01 21:34:26 2012 +0200
  3. +++ b/BBGE/DeflateCompressor.cpp        Sat May 12 17:46:47 2012 +0200
  4. @@ -1,6 +1,6 @@
  5.  #include "Base.h"
  6.  
  7. -#include <zutil.h>
  8. +// #include <zutil.h>
  9.  #include <zlib.h>
  10.  
  11.  #include "DeflateCompressor.h"
  12. @@ -39,7 +39,7 @@
  13.      c_stream.zfree = (free_func)Z_NULL;
  14.      c_stream.opaque = (voidpf)Z_NULL;
  15.  
  16. -    if (Z_OK != deflateInit2(&c_stream, level, Z_DEFLATED, wbits, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY))
  17. +    if (Z_OK != deflateInit2(&c_stream, level, Z_DEFLATED, wbits, 8, Z_DEFAULT_STRATEGY))
  18.      {
  19.          *dst_size = 0;
  20.          return;
  21. diff -r 78e9bad9dae3 BBGE/Joystick.cpp
  22. --- a/BBGE/Joystick.cpp Sun Apr 01 21:34:26 2012 +0200
  23. +++ b/BBGE/Joystick.cpp Sat May 12 17:46:47 2012 +0200
  24. @@ -72,6 +72,7 @@
  25.  #include <linux/input.h>
  26.  #include <errno.h>
  27.  #include <iostream>
  28. +#include <unistd.h>
  29.  
  30.  #define BITS_TO_LONGS(x) \
  31.         (((x) + 8 * sizeof (unsigned long) - 1) / (8 * sizeof (unsigned long)))
  32. diff -r 78e9bad9dae3 BBGE/SoundManager.cpp
  33. --- a/BBGE/SoundManager.cpp     Sun Apr 01 21:34:26 2012 +0200
  34. +++ b/BBGE/SoundManager.cpp     Sat May 12 17:46:47 2012 +0200
  35. @@ -18,6 +18,7 @@
  36.  along with this program; if not, write to the Free Software
  37.  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  38.  */
  39. +#include <unistd.h>
  40.  #include "SoundManager.h"
  41.  #include "Core.h"
  42.  #include "Base.h"