[Glibc-bsd-commits] r2501 - trunk/glibc-ports/kfreebsd/bits

Petr Salinger ps-guest at alioth.debian.org
Wed May 6 09:13:36 UTC 2009


Author: ps-guest
Date: 2009-05-06 09:13:36 +0000 (Wed, 06 May 2009)
New Revision: 2501

Modified:
   trunk/glibc-ports/kfreebsd/bits/uio.h
Log:
sync <bits/uio.h> with linux variant



Modified: trunk/glibc-ports/kfreebsd/bits/uio.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/uio.h	2009-05-06 07:48:28 UTC (rev 2500)
+++ trunk/glibc-ports/kfreebsd/bits/uio.h	2009-05-06 09:13:36 UTC (rev 2501)
@@ -16,11 +16,16 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#ifndef _SYS_UIO_H
+#if !defined _SYS_UIO_H && !defined _FCNTL_H
 # error "Never include <bits/uio.h> directly; use <sys/uio.h> instead."
 #endif
 
+#ifndef _BITS_UIO_H
+#define _BITS_UIO_H     1
 
+#include <sys/types.h>
+
+
 /* `struct iovec' -- Structure describing a section of memory.  */
 
 struct iovec
@@ -47,3 +52,4 @@
 };
 #endif
 
+#endif




More information about the Glibc-bsd-commits mailing list