Fixing fedora/mingw build breaker. https://gitlab.com/D4N/exiv2/-/jobs/555626122 Thanks to @D4N for this discovery.
This commit is contained in:
parent
18e6a1f5d3
commit
ea28be68e9
12
src/http.cpp
12
src/http.cpp
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user