diff options
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/tools/http_upload.h | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index f11ed765..19450298 100644 --- a/configure.ac +++ b/configure.ac @@ -291,9 +291,7 @@ AS_IF([test "x$PACKAGE_STATUS" = xdevelopment], AM_LDFLAGS="$AM_LDFLAGS -export-dynamic" AM_CPPFLAGS="$AM_CPPFLAGS $glib_CFLAGS $curl_CFLAGS $libnotify_CFLAGS $PYTHON_CPPFLAGS ${GTK_CFLAGS}" AM_CPPFLAGS="$AM_CPPFLAGS -DTHEMES_PATH=\"\\\"$THEMES_PATH\\\"\" -DICONS_PATH=\"\\\"$ICONS_PATH\\\"\"" -LIBS="$glib_LIBS $curl_LIBS $libnotify_LIBS $PYTHON_LIBS $PYTHON_LDFLAGS ${GTK_LIBS} $LIBS" -AS_IF([test "x$PLATFORM" = xosx], - [LIBS="$LIBS -lgio-2.0"]) +LIBS="$glib_LIBS $curl_LIBS $libnotify_LIBS $PYTHON_LIBS $PYTHON_LDFLAGS ${GTK_LIBS} -lgio-2.0 $LIBS" AC_SUBST(AM_LDFLAGS) AC_SUBST(AM_CFLAGS) diff --git a/src/tools/http_upload.h b/src/tools/http_upload.h index 7bb539cb..28c83d98 100644 --- a/src/tools/http_upload.h +++ b/src/tools/http_upload.h @@ -35,6 +35,11 @@ #ifndef TOOLS_HTTP_UPLOAD_H #define TOOLS_HTTP_UPLOAD_H +#ifdef PLATFORM_CYGWIN +#define SOCKET int +#endif + +#include <sys/socket.h> #include <curl/curl.h> // forward -> ui/win_types.h |