mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +03:00
MinGW: Fix compiler warning about winsock2.h and windows.h
This commit fixes following compiler warning with mingw compiler: In file included from common.h:63:0, from util_security.h:42, from util_security.cc:36: /usr/share/mingw-w64/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp] #warning Please include winsock2.h before windows.h
This commit is contained in:
parent
e55b543b64
commit
852f2fb99a
2 changed files with 4 additions and 1 deletions
|
@ -36,10 +36,11 @@
|
|||
#ifndef D_UTIL_SECURITY_H
|
||||
#define D_UTIL_SECURITY_H
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "common.h"
|
||||
#include "a2functional.h"
|
||||
#include "MessageDigest.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue