diff options
Diffstat (limited to 'include/ext4_errno.h')
| -rw-r--r-- | include/ext4_errno.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ext4_errno.h b/include/ext4_errno.h index edf89a9..6735eaf 100644 --- a/include/ext4_errno.h +++ b/include/ext4_errno.h @@ -41,6 +41,7 @@ extern "C" { #endif #include "ext4_config.h" +#include <stdint.h> #if !CONFIG_HAVE_OWN_ERRNO #include <errno.h> @@ -84,6 +85,9 @@ extern "C" { #define EOK 0 #endif +/* Platform-specific error code from the last OS API call that was made */ +extern uint32_t ext4_platform_errno; + #ifdef __cplusplus } #endif |
