summaryrefslogtreecommitdiff
path: root/demos/calc
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-07-24 02:48:35 +0200
committerKevin Ryde <user42@zip.com.au>2002-07-24 02:48:35 +0200
commit16c885a070bad3383dbf9c231164ac39df00f987 (patch)
tree224fc1732966071e299a9a7401216f69c802eeed /demos/calc
parent86b7082e2bd7cf5bf7874e0461af34c4cd881ad9 (diff)
downloadgmp-16c885a070bad3383dbf9c231164ac39df00f987.tar.gz
* demos/calc/calclex.l: Add <string.h> for strcmp.
Diffstat (limited to 'demos/calc')
-rw-r--r--demos/calc/calclex.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/calc/calclex.l b/demos/calc/calclex.l
index bacbec8a7..b5ba6875d 100644
--- a/demos/calc/calclex.l
+++ b/demos/calc/calclex.l
@@ -1,6 +1,6 @@
/* Lexical analyzer for calc program.
-Copyright 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -18,6 +18,7 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA. */
%{
+#include <string.h>
#include "calc-common.h"