added missing include <assert.h> (not anymore included in libFirm)
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 5 Dec 2005 12:19:54 +0000 (12:19 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 5 Dec 2005 12:19:54 +0000 (12:19 +0000)
[r7039]

ir/ana2/pto_ctx.c
ir/ana2/pto_init.c
ir/ana2/pto_name.c

index 9fad1d2..a30043c 100644 (file)
@@ -16,6 +16,8 @@
 #  include "config.h"
 # endif
 
+#include <assert.h>
+
 /*
  pto_ctx: Manage context-sensitivity markers
 */
@@ -85,6 +87,9 @@ ctx_info_t *set_curr_ctx (ctx_info_t *ctx)
 \f
 /*
   $Log$
+  Revision 1.6  2005/12/05 12:19:54  beck
+  added missing include <assert.h> (not anymore included in libFirm)
+
   Revision 1.5  2005/01/14 13:37:55  liekweg
   Insert purpose descr
 
index 2b97ff0..781cfd8 100644 (file)
  pto_init: Initialisation Functions
 */
 
+# include <assert.h>
 # include <obstack.h>
+#ifdef HAVE_STRING_H
 # include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
 
 # include "pto.h"
 # include "pto_init.h"
@@ -430,6 +436,9 @@ void pto_reset_graph_pto (ir_graph *graph, int ctx_idx)
 \f
 /*
   $Log$
+  Revision 1.20  2005/12/05 12:19:54  beck
+  added missing include <assert.h> (not anymore included in libFirm)
+
   Revision 1.19  2005/06/17 17:42:32  beck
   added doxygen docu
   fixed (void) function headers
index 8c667b5..ce69bd6 100644 (file)
 # include "pto_name.h"
 # include "pto_util.h"
 
+#include <assert.h>
+
+#ifdef HAVE_STRING_H
 # include <string.h>            /* for memcpy */
+#endif
 # include <obstack.h>
 # include <errno.h>
 
@@ -654,6 +658,9 @@ void pto_name_cleanup (void)
 \f
 /*
   $Log$
+  Revision 1.16  2005/12/05 12:19:54  beck
+  added missing include <assert.h> (not anymore included in libFirm)
+
   Revision 1.15  2005/03/02 10:14:38  beck
   placed a return on all execution pathes