compilation fixes
@ -17,11 +17,7 @@
#include <sys/time.h>
#include <unistd.h>
#include <math.h>
// workaround to get the rid of "redefinition of typedef 'Byte'" build warning
#if !defined (__APPLE__)
#include "zlib.h"
#endif
#include <zlib.h>
#if !defined(__MACTYPES__)
#define __MACTYPES__
@ -490,7 +490,7 @@ int tty_fix ()
}
#if defined (__APPLE__) || defined (__FreeBSD__)
#if defined (__APPLE__)
static struct termios savemodes;
static int havemodes = 0;