From e4cfb4474a37f0821cce4d1c9a3a7fbdc871ed5d Mon Sep 17 00:00:00 2001 From: sjborley Date: Mon, 19 Sep 2005 20:51:55 +0000 Subject: [PATCH] Added missing system header includes (string.h and stdio.h) to avoid warnings --- xgraph/idraw.c | 1 + xgraph/tgif.c | 1 + xgraph/xtb.c | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/xgraph/idraw.c b/xgraph/idraw.c index c411c58c1..620263b8d 100644 --- a/xgraph/idraw.c +++ b/xgraph/idraw.c @@ -7,6 +7,7 @@ */ #include +#include #include #include "hard_devices.h" #include "xgout.h" diff --git a/xgraph/tgif.c b/xgraph/tgif.c index b4fac94ab..40e1aa1ca 100644 --- a/xgraph/tgif.c +++ b/xgraph/tgif.c @@ -5,6 +5,7 @@ */ #include +#include /* for strlen() */ #include #include "hard_devices.h" #include "xgout.h" diff --git a/xgraph/xtb.c b/xgraph/xtb.c index 637cc2b45..92a19fbe4 100644 --- a/xgraph/xtb.c +++ b/xgraph/xtb.c @@ -12,10 +12,11 @@ * want to use any of the standards yet -- they are too unstable). */ +#include /* for printf() */ #include #include #include -#include /* for strcpy */ +#include /* for strcpy() and strlen() */ #include "xtb.h" extern void abort();