]> git.mxchange.org Git - flightgear.git/commitdiff
Added #ifdef HAVE_STDLIB_H
authorcurt <curt>
Sun, 26 Apr 1998 05:02:06 +0000 (05:02 +0000)
committercurt <curt>
Sun, 26 Apr 1998 05:02:06 +0000 (05:02 +0000)
FixNode/Makefile.in
FixNode/main.cxx
FixNode/triload.cxx

index a9c2c0615053dc6c47a22f0d63da7cee8a15dc24..b08f7768ad61920a7b08567c5585c63f65e3abed 100644 (file)
@@ -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.
index 8130ab8d43ed21f6005b2a5c940e531454b159b2..2952d0cf8c30962ef7ee29c0683c8f28f8ad5806 100644 (file)
 #include <string.h>
 #include <sys/types.h>
 
+#ifdef HAVE_STDLIB_H
+#  include <stdlib.h>
+#endif // HAVE_STDLIB_H
+
 #include <DEM/dem.hxx>
 
 #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.
 //
index 3986780acfb4ec1d493f912e42d11a1eb1e416f5..6852f643d9565496ac29e846e0497a14a3b98c66 100644 (file)
 #include <stdio.h>
 #include <string.h>
 
+#ifdef HAVE_STDLIB_H
+#  include <stdlib.h>
+#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.
 //