mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-05-27 07:36:21 +00:00
fixed missing error codes for windows
This commit is contained in:
@@ -70,6 +70,11 @@
|
|||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif // HAVE_CONFIG_H
|
#endif // HAVE_CONFIG_H
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
// ECONNABORTED
|
||||||
|
# include "contrib/windows.h"
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -58,6 +58,11 @@
|
|||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif // HAVE_CONFIG_H
|
#endif // HAVE_CONFIG_H
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
// ENOTSUP
|
||||||
|
# include "contrib/windows.h"
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user