[Pcsclite-cvs-commit] r6920 - trunk/Drivers/ccid/src
ludovic.rousseau at free.fr
ludovic.rousseau at free.fr
Mon Jun 16 13:46:31 UTC 2014
Author: rousseau
Date: 2014-06-16 13:46:31 +0000 (Mon, 16 Jun 2014)
New Revision: 6920
Modified:
trunk/Drivers/ccid/src/ccid.c
Log:
Use #ifdef HAVE_* before including .h files
Some systems do not have C header files, like UEFI for example.
Modified: trunk/Drivers/ccid/src/ccid.c
===================================================================
--- trunk/Drivers/ccid/src/ccid.c 2014-06-16 13:42:45 UTC (rev 6919)
+++ trunk/Drivers/ccid/src/ccid.c 2014-06-16 13:46:31 UTC (rev 6920)
@@ -21,13 +21,21 @@
* $Id$
*/
+#include "config.h"
+
+#ifdef HAVE_STDIO_H
#include <stdio.h>
+#endif
+#ifdef HAVE_STDLIB_H
#include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
#include <string.h>
+#endif
+
#include <pcsclite.h>
#include <ifdhandler.h>
-#include "config.h"
#include "debug.h"
#include "ccid.h"
#include "defs.h"
More information about the Pcsclite-cvs-commit
mailing list