aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;