[Pcsclite-cvs-commit] r6986 - trunk/PCSC/src
ludovic.rousseau at free.fr
ludovic.rousseau at free.fr
Mon Sep 15 08:04:47 UTC 2014
Author: rousseau
Date: 2014-09-15 08:04:47 +0000 (Mon, 15 Sep 2014)
New Revision: 6986
Modified:
trunk/PCSC/src/strlcpy.c
trunk/PCSC/src/tokenparser.l
Log:
Use <config.h> instead of "config.h"
https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Configuration-Headers.html
With the appropriate -I option, you can use #include <config.h>.
Actually, it's a good habit to use it, because in the rare case when
the source directory contains another config.h, the build directory
should be searched first.
Modified: trunk/PCSC/src/strlcpy.c
===================================================================
--- trunk/PCSC/src/strlcpy.c 2014-09-15 08:03:41 UTC (rev 6985)
+++ trunk/PCSC/src/strlcpy.c 2014-09-15 08:04:47 UTC (rev 6986)
@@ -17,7 +17,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#ifndef HAVE_STRLCPY
Modified: trunk/PCSC/src/tokenparser.l
===================================================================
--- trunk/PCSC/src/tokenparser.l 2014-09-15 08:03:41 UTC (rev 6985)
+++ trunk/PCSC/src/tokenparser.l 2014-09-15 08:04:47 UTC (rev 6986)
@@ -45,7 +45,7 @@
%{
-#include "config.h"
+#include <config.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
More information about the Pcsclite-cvs-commit
mailing list