Work around Windows build issues
At least MinGW did not have ENOTCONN, EOPNOTSUPP, ECANCELED, so define these to allow the build to go through. wpas_rrm_send_neighbor_rep_request() is not really used on Windows, so the exact error code values do not make any difference here. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
6dbbef9603
commit
b09baf37cf
1 changed files with 7 additions and 0 deletions
|
@ -5197,6 +5197,13 @@ void wpas_rrm_process_neighbor_rep(struct wpa_supplicant *wpa_s,
|
|||
}
|
||||
|
||||
|
||||
#if defined(__CYGWIN__) || defined(CONFIG_NATIVE_WINDOWS)
|
||||
/* Workaround different, undefined for Windows, error codes used here */
|
||||
#define ENOTCONN -1
|
||||
#define EOPNOTSUPP -1
|
||||
#define ECANCELED -1
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wpas_rrm_send_neighbor_rep_request - Request a neighbor report from our AP
|
||||
* @wpa_s: Pointer to wpa_supplicant
|
||||
|
|
Loading…
Reference in a new issue