[Date Prev][Date Next]
slapd/controls.c: sc_mask conflicts with Irix sys/signal.h (ITS#2022)
Full_Name: Darin Broady
OS: Irix 6.5.15m
Submission from: (NULL) (188.8.131.52)
I am trying to compile OpenLDAP 2.1.3 on Irix 6.5.15m with MIPSpro
184.108.40.206m compilers. Compilation failed on servers/slapd/controls.c
(version 220.127.116.11) because at line 54, the slap_mask_t variable sc_mask
has a redefition to sc_sigset.__sigbits from <sys/signal.h>, which is
implicitly included by <arpa/nameser.h>.
The fix for this is to change the name to something else, or to
#undef sc_mask before declaring the variable. I would opt for the
renaming of the variable. I would possibly suggest sctrl_mask, since
it is slap_control_mask.
This doesn't happen on Solaris 8.