From 5834ac2582bd746f3370a95a1f8b57b6d234ec51 Mon Sep 17 00:00:00 2001 From: curt Date: Sun, 26 Apr 1998 05:02:06 +0000 Subject: [PATCH] Added #ifdef HAVE_STDLIB_H --- FixNode/Makefile.in | 4 ++-- FixNode/main.cxx | 7 +++++++ FixNode/triload.cxx | 7 +++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/FixNode/Makefile.in b/FixNode/Makefile.in index a9c2c0615..b08f7768a 100644 --- a/FixNode/Makefile.in +++ b/FixNode/Makefile.in @@ -371,8 +371,8 @@ INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib #--------------------------------------------------------------------------- # $Log$ -# Revision 1.5 1998/04/25 15:12:12 curt -# Misc. tweaks. +# Revision 1.6 1998/04/26 05:02:06 curt +# Added #ifdef HAVE_STDLIB_H # # Revision 1.3 1998/04/18 04:02:54 curt # Added zlib support in placed and other misc. tweaks. diff --git a/FixNode/main.cxx b/FixNode/main.cxx index 8130ab8d4..2952d0cf8 100644 --- a/FixNode/main.cxx +++ b/FixNode/main.cxx @@ -29,6 +29,10 @@ #include #include +#ifdef HAVE_STDLIB_H +# include +#endif // HAVE_STDLIB_H + #include #include "fixnode.hxx" @@ -104,6 +108,9 @@ int main(int argc, char **argv) { // $Log$ +// Revision 1.3 1998/04/26 05:02:06 curt +// Added #ifdef HAVE_STDLIB_H +// // Revision 1.2 1998/04/14 02:26:04 curt // Code reorganizations. Added a Lib/ directory for more general libraries. // diff --git a/FixNode/triload.cxx b/FixNode/triload.cxx index 3986780ac..6852f643d 100644 --- a/FixNode/triload.cxx +++ b/FixNode/triload.cxx @@ -26,6 +26,10 @@ #include #include +#ifdef HAVE_STDLIB_H +# include +#endif // HAVE_STDLIB_H + #include "triload.hxx" @@ -65,6 +69,9 @@ void triload(char *filename, double nodes[MAX_NODES][3]) { // $Log$ +// Revision 1.2 1998/04/26 05:02:06 curt +// Added #ifdef HAVE_STDLIB_H +// // Revision 1.1 1998/04/08 23:05:58 curt // Adopted Gnu automake/autoconf system. //