Fixing fedora/mingw build breaker. https://gitlab.com/D4N/exiv2/-/jobs/555626122 Thanks to @D4N for this discovery.

This commit is contained in:
clanmills 2020-05-17 17:49:21 +01:00
parent 18e6a1f5d3
commit ea28be68e9

View File

@ -18,14 +18,6 @@
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
/*
* http.cpp
*/
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW__)
#include <winsock2.h>
#endif
// included header files
#include "config.h"
@ -40,6 +32,10 @@
#include <sys/stat.h>
#include <string.h>
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW__)
#include <winsock2.h>
#endif
#define SLEEP 1000
#define SNOOZE 0