changeset 11864:ee76aa308c0a

use inttypes.h and std types, this fixes compilation problems on solaris 9 x86
author alex
date Wed, 28 Jan 2004 08:02:40 +0000
parents 9d5fdc9847ec
children e49a62a6e3cb
files loader/wrapper.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/loader/wrapper.h	Wed Jan 28 07:47:48 2004 +0000
+++ b/loader/wrapper.h	Wed Jan 28 08:02:40 2004 +0000
@@ -1,13 +1,13 @@
 #ifndef _WRAPPER_H
 #define _WRAPPER_H
 
-#include <sys/types.h>
+#include <inttypes.h>
 
 typedef struct {
-  u_int32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
+  uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
 } reg386_t;
 
-typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg,  u_int32_t *flags);
+typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg,  uint32_t *flags);
 
 extern wrapper_func_t report_entry, report_ret;