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

v0.27.3
clanmills 5 years ago
parent 18e6a1f5d3
commit ea28be68e9

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

Loading…
Cancel
Save