[Spice-commits] AUTHORS server/smartcard.cpp
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue May 30 19:35:46 UTC 2023
AUTHORS | 1 +
server/smartcard.cpp | 2 ++
2 files changed, 3 insertions(+)
New commits:
commit 3dfd5243c7d8146ff25de4cd76657641118821be
Author: Biswapriyo Nath <nathbappai at gmail.com>
Date: Tue May 30 01:53:57 2023 +0530
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 at gmail.com>
Acked-by: Frediano Ziglio <freddy77 at gmail.com>
diff --git a/AUTHORS b/AUTHORS
index 6ad10e6e..a735d24d 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -88,5 +88,6 @@ Patches also contributed by
Geoffrey McRae <geoff at hostfission.com>
Antonio Larrosa <antonio.larrosa at gmail.com>
Volker Rümelin <vr_qemu at t-online.de>
+ Biswapriyo Nath <nathbappai at gmail.com>
....send patches to get your name here...
diff --git a/server/smartcard.cpp b/server/smartcard.cpp
index 709815a0..023cf523 100644
--- a/server/smartcard.cpp
+++ b/server/smartcard.cpp
@@ -17,7 +17,9 @@
*/
#include <config.h>
+#ifndef _WIN32
#include <arpa/inet.h>
+#endif
#ifdef USE_SMARTCARD
#include <libcacard.h>
#endif
More information about the Spice-commits
mailing list