Skip to content
Snippets Groups Projects
Commit 001043ac authored by Kylie McClain's avatar Kylie McClain Committed by Brad King
Browse files

Include `sys/types.h` header to get `mode_t`

Do not depend on it being included by other system headers.
It is not included by others on musl-libc, for example.
parent b4a2ada2
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,8 @@
#if defined( _MSC_VER )
typedef unsigned short mode_t;
#else
# include <sys/types.h>
#endif
// use this class to shrink the size of symbols in .o files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment