mirror of
https://github.com/pine64/blisp.git
synced 2025-04-25 19:57:28 +00:00
Include Windows headers for missing data types
This commit is contained in:
parent
c87a4a092c
commit
6306a00de7
@ -5,6 +5,10 @@
|
||||
#include <stdlib.h>
|
||||
#include "parse_file.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <sys\types.h>
|
||||
#endif
|
||||
|
||||
#define DFU_SUFFIX_LENGTH 16
|
||||
#define LMDFU_PREFIX_LENGTH 8
|
||||
#define LPCDFU_PREFIX_LENGTH 16
|
||||
|
@ -2,6 +2,10 @@
|
||||
#define PARSE_FILE_H_
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(_MSC_VER)
|
||||
#include <BaseTsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
#include "parsed_firmware_file.h"
|
||||
|
||||
#define PARSED_ERROR_INVALID_FILETYPE -0x1000
|
||||
|
Loading…
Reference in New Issue
Block a user