mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-28 16:29:56 +00:00
smartcard: Fix compiling for Windows platform
This fixes the following compiler error while targeting Windows platform.
../../server/smartcard.cpp:20:10: fatal error: arpa/inet.h: No such file or directory
20 | #include <arpa/inet.h>
| ^~~~~~~~~~~~~
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Acked-by: Frediano Ziglio <freddy77@gmail.com>
This commit is contained in:
parent
5e580eefac
commit
3dfd5243c7
1
AUTHORS
1
AUTHORS
@ -88,5 +88,6 @@ Patches also contributed by
|
||||
Geoffrey McRae <geoff@hostfission.com>
|
||||
Antonio Larrosa <antonio.larrosa@gmail.com>
|
||||
Volker Rümelin <vr_qemu@t-online.de>
|
||||
Biswapriyo Nath <nathbappai@gmail.com>
|
||||
|
||||
....send patches to get your name here...
|
||||
|
||||
@ -17,7 +17,9 @@
|
||||
*/
|
||||
#include <config.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#ifdef USE_SMARTCARD
|
||||
#include <libcacard.h>
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user