gdmap compilation fixes for Mac OS X
Brought to you by:
sgop
Hi,
The following changes are necessary to get gdmap compiled on (recent) OSX versions. Please consider including them in the codebase.
diff --git a/configure b/configure
index fc7ed80..bb408d3 100755
--- a/configure
+++ b/configure
@@ -8225,7 +8225,7 @@ else
echo "${ECHO_T}yes" >&6; }
:
fi
-UI_CFLAGS="$UI_CFLAGS -DGTK_DISABLE_DEPRECATED"
+#UI_CFLAGS="$UI_CFLAGS -DGTK_DISABLE_DEPRECATED"
diff --git a/src/gui_main.c b/src/gui_main.c
index efe2239..91c2a14 100644
--- a/src/gui_main.c
+++ b/src/gui_main.c
@@ -11,7 +11,6 @@
# include <config.h>
#endif
-#include <sys/vfs.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>