replaced malloc.h by stdlib.h and values.h by limits.g for better portability
authorBoris Boesler <boesler@ipd.info.uni-karlsruhe.de>
Mon, 5 May 2003 20:06:29 +0000 (20:06 +0000)
committerBoris Boesler <boesler@ipd.info.uni-karlsruhe.de>
Mon, 5 May 2003 20:06:29 +0000 (20:06 +0000)
[r1140]

ir/tv/strcalc.c
ir/tv/tv.c

index 97bc58d..6107e4e 100644 (file)
@@ -12,7 +12,7 @@
 #include <assert.h>   /* assertions */
 #include <string.h>   /* memset/memcmp */
 #include <stdio.h>    /* output for error messages */
-#include <values.h>   /* definition of MIN_LONG, used in sc_get_val_from_long */
+#include <limits.h>   /* definition of LONG_MIN, used in sc_get_val_from_long */
 
 /*
  * local definitions and macros
index 3566cd9..1eccce8 100644 (file)
@@ -42,7 +42,7 @@
 #include <stdlib.h>         /* atoi() */
 #include <string.h>         /* nice things for strings */
 
-#include <malloc.h>
+#include <stdlib.h>
 #include "tv_t.h"
 #include "set.h"            /* to store tarvals in */
 #include "tune.h"           /* some constants */