summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-07-26 12:52:44 +0000
committerkib <kib@FreeBSD.org>2010-07-26 12:52:44 +0000
commit5d01c62502665b710ec70aef82c9697d5d78b4a4 (patch)
tree7537f11c940ec9014823750b4a78cf97cd850020 /sys/compat
parent2aedf3a2fe55d9ca74252d943f2c028bac8310ac (diff)
downloadFreeBSD-src-5d01c62502665b710ec70aef82c9697d5d78b4a4.zip
FreeBSD-src-5d01c62502665b710ec70aef82c9697d5d78b4a4.tar.gz
Revert r210451, and the similar part of the r210431. The forward-declaration
for the enum tag when enum definition is not complete is not allowed by C99, and is gcc extension. Requested by: stefanf MFC after: 28 days
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/freebsd32_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32_util.h b/sys/compat/freebsd32/freebsd32_util.h
index 385b690..0fed7b0 100644
--- a/sys/compat/freebsd32/freebsd32_util.h
+++ b/sys/compat/freebsd32/freebsd32_util.h
@@ -34,6 +34,7 @@
#include <sys/cdefs.h>
#include <sys/exec.h>
#include <sys/sysent.h>
+#include <sys/uio.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
@@ -101,7 +102,6 @@ int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt,
struct iovec **iov, int error);
void freebsd32_rusage_out(const struct rusage *s, struct rusage32 *s32);
-enum uio_seg;
struct image_args;
int freebsd32_exec_copyin_args(struct image_args *args, char *fname,
enum uio_seg segflg, u_int32_t *argv, u_int32_t *envv);
OpenPOWER on IntegriCloud