aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTanguy Pruvot <tanguy.pruvot@gmail.com>2012-04-28 20:40:04 +0200
committerTanguy Pruvot <tanguy.pruvot@gmail.com>2012-04-28 20:40:26 +0200
commit47698f8f66b6d333f1456835979377c0133c8b8f (patch)
tree43cc3e147c54892278af55054a598318e941d562
parentaa36aee28913d7de62b82cd987dae77b20e70f6d (diff)
downloadandroid_external_strace-ics-release.tar.gz
android_external_strace-ics-release.tar.bz2
android_external_strace-ics-release.zip
ifdef fix for HAVE_SYS_UIO_H, not defined to '1'ics-releaseicscm-9.1.0
in system/core/include only x86 target is set to 1 Change-Id: I128c070a53c55a98dcd5230af583cac3773f26ca
-rw-r--r--io.c4
-rw-r--r--util.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/io.c b/io.c
index 3f8757c2..e7f4e774 100644
--- a/io.c
+++ b/io.c
@@ -33,7 +33,7 @@
#include "defs.h"
#include <fcntl.h>
-#if HAVE_SYS_UIO_H
+#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
#endif
@@ -74,7 +74,7 @@ sys_write(struct tcb *tcp)
return 0;
}
-#if HAVE_SYS_UIO_H
+#ifdef HAVE_SYS_UIO_H
void
tprint_iov(tcp, len, addr)
struct tcb * tcp;
diff --git a/util.c b/util.c
index 81f6801f..eaa9160d 100644
--- a/util.c
+++ b/util.c
@@ -42,7 +42,7 @@
#endif
#include <sys/param.h>
#include <fcntl.h>
-#if HAVE_SYS_UIO_H
+#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
#endif
#ifdef SUNOS4
@@ -643,7 +643,7 @@ printstr(struct tcb *tcp, long addr, int len)
tprintf("%s", outstr);
}
-#if HAVE_SYS_UIO_H
+#ifdef HAVE_SYS_UIO_H
void
dumpiov(tcp, len, addr)
struct tcb * tcp;