4d6c9a0f37
* cmdlex.cc needs to include <cstdio> for the EOF macro. * Search $(srcdir) before directorys in CXXFLAGS so that the "FlexLexer.h" in $(srcdir) is found before the one under PREFIX (from CXXFLAGS).
14 lines
349 B
Text
14 lines
349 B
Text
$NetBSD: patch-sim_ucsim_cmd.src_cmdlex.l,v 1.1 2012/01/24 06:06:32 sbd Exp $
|
|
|
|
Include <cstdio> for the EOF macro.
|
|
|
|
--- sim/ucsim/cmd.src/cmdlex.l.orig 2004-07-16 16:32:30.000000000 +0000
|
|
+++ sim/ucsim/cmd.src/cmdlex.l
|
|
@@ -1,6 +1,7 @@
|
|
%{
|
|
#include "cmdlexcl.h"
|
|
#include "cmdpars.h"
|
|
+#include <cstdio>
|
|
|
|
static YY_cl_ucsim_parser_STYPE *yylval;
|
|
|