From 498a22333b835a598ccaed4656e97a0ec3573665 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Mar 2014 10:44:34 -0700 Subject: Compile with -Wundef. --- include/errno.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/errno.h') diff --git a/include/errno.h b/include/errno.h index f1b93a881b..dbf2a61e0d 100644 --- a/include/errno.h +++ b/include/errno.h @@ -6,6 +6,11 @@ # ifdef IS_IN_rtld # include +# 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 -- cgit 1.4.1