[Pcsclite-cvs-commit] r6977 - trunk/Drivers/ccid/src

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Thu Sep 4 11:36:54 UTC 2014


Author: rousseau
Date: 2014-09-04 11:36:54 +0000 (Thu, 04 Sep 2014)
New Revision: 6977

Modified:
   trunk/Drivers/ccid/src/ifdhandler.c
Log:
Fix compiler warning

ifdhandler.c: In function `IFDHControl':
ifdhandler.c:1442:4: warning: implicit declaration of function `htonl' [-Wimplicit-function-declaration]
ifdhandler.c:1442:4: warning: nested extern declaration of `htonl' [-Wnested-externs]


Modified: trunk/Drivers/ccid/src/ifdhandler.c
===================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c	2014-09-04 11:35:46 UTC (rev 6976)
+++ trunk/Drivers/ccid/src/ifdhandler.c	2014-09-04 11:36:54 UTC (rev 6977)
@@ -33,6 +33,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
 
 #include "misc.h"
 #include <pcsclite.h>




More information about the Pcsclite-cvs-commit mailing list