[rtems-libbsd commit] aio.h: Disable unused field

Joel Sherrill joel at rtems.org
Wed Sep 5 17:52:49 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    25ed473ebf5afc962f20c785d2193b351c3e414a
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=25ed473ebf5afc962f20c785d2193b351c3e414a

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Sep  5 12:48:38 2012 -0500

aio.h: Disable unused field

---

 freebsd/sys/aio.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/freebsd/sys/aio.h b/freebsd/sys/aio.h
index f68888f..cff3d78 100644
--- a/freebsd/sys/aio.h
+++ b/freebsd/sys/aio.h
@@ -73,7 +73,9 @@ typedef struct aiocb {
 	int	aio_lio_opcode;		/* LIO opcode */
 	int	aio_reqprio;		/* Request priority -- ignored */
 	struct	__aiocb_private	_aiocb_private;
+#ifndef __rtems__
 	struct	sigevent aio_sigevent;	/* Signal to deliver */
+#endif
 } aiocb_t;
 
 #ifndef _KERNEL




More information about the vc mailing list