diff options
author | Ian Gulliver <git@flamingcow.io> | 2019-05-18 13:53:40 -0700 |
---|---|---|
committer | Ian Gulliver <git@flamingcow.io> | 2019-05-18 13:53:40 -0700 |
commit | f218f76b82c3fc2ebfca0d1621e850a61c78ea6a (patch) | |
tree | 5b434d3e39f5bcca701d403b2eb57be2c95da024 /src | |
parent | 1a90a51ecd678d4331990d7f696153b59583d378 (diff) |
Fix liburing.h memset() missing declaration
liburing.h uses memset() but doesn't include string.h.
If nothing else includes it, this causes compile errors.
Add the include.
Signed-off-by: Ian Gulliver <git@flamingcow.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/liburing.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liburing.h b/src/liburing.h index 32e7211..3df5462 100644 --- a/src/liburing.h +++ b/src/liburing.h @@ -7,6 +7,7 @@ extern "C" { #include <sys/uio.h> #include <signal.h> +#include <string.h> #include <inttypes.h> #include "compat.h" #include "io_uring.h" |