* config.h, vm/types.h: Added.
authortwisti <none@none>
Sat, 3 Dec 2005 12:43:29 +0000 (12:43 +0000)
committertwisti <none@none>
Sat, 3 Dec 2005 12:43:29 +0000 (12:43 +0000)
* field_display: #ifdef'd ENABLE_DEBUG.

src/vm/field.h

index e5759e4d83b4670a6ceb3a2b549ab047416d21b9..1ad00ae643bd021d54ff5b5bac619238b25b5803 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes: Christian Thalinger
 
-   $Id: field.h 2181 2005-04-01 16:53:33Z edwin $
+   $Id: field.h 3857 2005-12-03 12:43:29Z twisti $
 */
 
 
@@ -39,6 +39,8 @@
 
 typedef struct fieldinfo fieldinfo; 
 
+#include "config.h"
+#include "vm/types.h"
 
 #include "vm/global.h"
 #include "vm/utf8.h"
@@ -71,9 +73,12 @@ struct fieldinfo {         /* field of a class                                 */
 /* function prototypes ********************************************************/
 
 void field_free(fieldinfo *f);
+
+#if defined(ENABLE_DEBUG)
 void field_display(fieldinfo *f);
+#endif
 
-#endif /* _LOADER_H */
+#endif /* _FIELD_H */
 
 
 /*