diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/uio.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/uio.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/uio.h b/sysdeps/unix/sysv/linux/bits/uio.h index 0706845657..fd4dff5c64 100644 --- a/sysdeps/unix/sysv/linux/bits/uio.h +++ b/sysdeps/unix/sysv/linux/bits/uio.h @@ -48,8 +48,10 @@ struct iovec #endif -#if defined _SYS_UIO_H && !defined _BITS_UIO_H_FOR_SYS_UIO_H -#define _BITS_UIO_H_FOR_SYS_UIO_H 1 + +#ifdef __USE_GNU +# if defined _SYS_UIO_H && !defined _BITS_UIO_H_FOR_SYS_UIO_H +# define _BITS_UIO_H_FOR_SYS_UIO_H 1 __BEGIN_DECLS @@ -71,4 +73,5 @@ extern ssize_t process_vm_writev (pid_t __pid, const struct iovec *__lvec, __END_DECLS +# endif #endif |