[Pcsclite-git-commit] [PCSC] 01/01: tokenparser.l: config.h is a local file
Ludovic Rousseau
rousseau at moszumanska.debian.org
Sun Aug 9 08:17:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository PCSC.
commit 1f37c57feb81e8d263c696a845c4d054bdc11d0c
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Fri Aug 7 15:04:12 2015 +0200
tokenparser.l: config.h is a local file
Use "config.h" instead of <config.h> so that the config.h is found in
the local source directory.
The problem was reported with HandlerTest that do not use -I. as
compiler argument. The error was:
tokenparser.l:45:20: fatal error: config.h: No such file or directory
#include <config.h>
^
compilation terminated.
---
src/tokenparser.l | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tokenparser.l b/src/tokenparser.l
index 952c345..a587e7f 100644
--- a/src/tokenparser.l
+++ b/src/tokenparser.l
@@ -42,7 +42,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%{
-#include <config.h>
+#include "config.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git
More information about the Pcsclite-cvs-commit
mailing list