Commit f3960f4a authored by Bernhard Nortmann's avatar Bernhard Nortmann
Browse files

fel: Change order of includes



For Windows portable_endian.h relies on and includes <winsock2.h>.
Thus it needs to be requested first, otherwise other includes might
pull in <windows.h> and cause a preprocessor warning / compilation
failure (observed with MinGW).
Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
parent b496582b
......@@ -15,6 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "common.h"
#include "portable_endian.h"
#include "progress.h"
#include <libusb.h>
#include <stdint.h>
#include <stdbool.h>
......@@ -28,10 +32,6 @@
#include <unistd.h>
#include <sys/stat.h>
#include "common.h"
#include "portable_endian.h"
#include "progress.h"
static const uint16_t AW_USB_VENDOR_ID = 0x1F3A;
static const uint16_t AW_USB_PRODUCT_ID = 0xEFE8;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment