diff options
author | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2020-04-13 21:33:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 21:33:56 +0300 |
commit | 044849d6fa0cdeb47a3ea51ee02f557b7684e312 (patch) | |
tree | f67eb16a29c30cf022dae85cf3ca2cbfc8605f36 /include/gsl | |
parent | 24dc828cbb3da512702b7985ee323fb966538ac2 (diff) | |
parent | b213c8970093811db1006180b268f6290e09c4f4 (diff) |
Merge pull request #823 from RedDwarf69/std_byte_fix
Add missing #include if built with GSL_USE_STD_BYTE=1
Diffstat (limited to 'include/gsl')
-rw-r--r-- | include/gsl/gsl_byte | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gsl/gsl_byte b/include/gsl/gsl_byte index c2fc572..9e68d0d 100644 --- a/include/gsl/gsl_byte +++ b/include/gsl/gsl_byte @@ -87,6 +87,10 @@ #define byte_may_alias #endif // defined __clang__ || defined __GNUC__ +#if GSL_USE_STD_BYTE +#include <cstddef> +#endif + namespace gsl { #if GSL_USE_STD_BYTE |