summaryrefslogtreecommitdiff
path: root/include/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aio.h')
-rw-r--r--include/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/aio.h b/include/aio.h
index ffb357c9..d97874e8 100644
--- a/include/aio.h
+++ b/include/aio.h
@@ -48,7 +48,7 @@ int aio_fsync(int, struct aiocb *);
int lio_listio(int, struct aiocb *const [], int, struct sigevent *);
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define aiocb64 aiocb
#define aio_read64 aio_read
#define aio_write64 aio_write