diff options
Diffstat (limited to 'include/errno.h')
-rw-r--r-- | include/errno.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h index f1b93a8..dbf2a61 100644 --- a/include/errno.h +++ b/include/errno.h @@ -6,6 +6,11 @@ # ifdef IS_IN_rtld # include <dl-sysdep.h> +# ifndef RTLD_PRIVATE_ERRNO +# error "dl-sysdep.h must define RTLD_PRIVATE_ERRNO!" +# endif +# else +# define RTLD_PRIVATE_ERRNO 0 # endif # if RTLD_PRIVATE_ERRNO |