1
0
Fork 0

Added #ifdef HAVE_STDLIB_H

This commit is contained in:
curt 1998-04-26 05:02:06 +00:00
parent 8ec9cfff66
commit 5834ac2582
3 changed files with 16 additions and 2 deletions

View 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.

View file

@ -29,6 +29,10 @@
#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.
//

View file

@ -26,6 +26,10 @@
#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.
//