aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stevens <mstevens@stresearch.com>2018-06-04 13:31:11 -0400
committerGarrett D'Amore <garrett@damore.org>2018-06-04 11:16:02 -0700
commita45fb3fecbe6321a03e76831019c2c0e777bda34 (patch)
tree35b25b7a8455817263ea6fcde962011dc20b2256
parent2b896b18d7444cd60938d3de2c9be97302d95828 (diff)
downloadnng-a45fb3fecbe6321a03e76831019c2c0e777bda34.tar.gz
nng-a45fb3fecbe6321a03e76831019c2c0e777bda34.tar.bz2
nng-a45fb3fecbe6321a03e76831019c2c0e777bda34.zip
Adding sys/stat.h to src/platform/posix/posix_aio.h for building with musl
-rw-r--r--src/platform/posix/posix_aio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/posix/posix_aio.h b/src/platform/posix/posix_aio.h
index fb5e048a..83f2f1a8 100644
--- a/src/platform/posix/posix_aio.h
+++ b/src/platform/posix/posix_aio.h
@@ -21,6 +21,7 @@
#include "posix_pollq.h"
#include <sys/types.h> // needed for mode_t
+#include <sys/stat.h> // needed for musl build
typedef struct nni_posix_pipedesc nni_posix_pipedesc;
typedef struct nni_posix_epdesc nni_posix_epdesc;