commit | 1065e5c5381085e9009f7b426ee7a1c7e156a82b | [log] [tgz] |
---|---|---|
author | Jiahao XU <Jiahao_XU@outlook.com> | Tue Feb 02 18:11:42 2021 +1100 |
committer | Jiahao XU <Jiahao_XU@outlook.com> | Fri Feb 05 09:39:33 2021 +1100 |
tree | e65deded3fd5bcba03e6aab18808f45fb1f7cadc | |
parent | a986f46d6375541f9cf43a7dca9208c61ffb103c [diff] |
Fix sigset_t not found in liburing.h Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
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>