commit | e30b5db259f81e34cd8121012cbb7b43d9e07861 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Feb 04 16:00:02 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 04 16:00:02 2021 -0700 |
tree | fc1d64920e7d8892ecdca23829d07fad3b858813 | |
parent | c96202546bd9d7420d97bc05e73c7144d0924e8a [diff] | |
parent | 1065e5c5381085e9009f7b426ee7a1c7e156a82b [diff] |
Merge branch 'patch-2' of https://github.com/NobodyXu/liburing * 'patch-2' of https://github.com/NobodyXu/liburing: Fix sigset_t not found in liburing.h
diff --git a/src/include/liburing.h b/src/include/liburing.h index 90403bc..a63c22b 100644 --- a/src/include/liburing.h +++ b/src/include/liburing.h
@@ -2,6 +2,10 @@ #ifndef LIB_URING_H #define LIB_URING_H +#ifndef _XOPEN_SOURCE +#define _XOPEN_SOURCE 500 /* Required for glibc to expose sigset_t */ +#endif + #include <sys/socket.h> #include <sys/uio.h> #include <sys/stat.h>