[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: SCO complitation error slap.h



The changes suggested below worked. Thanks and yes it does work with the old
<sys/file.h>'s in place.
-Stephen
>
>I expect sys/file.h is there because some hosts need it.
>I imagine the patch below would be better for now.
>Does it work, with the old `#include <sys/file.h>'s in place?
>
>*** servers/slapd/slap.h~ Fri Aug 21 06:33:42 1998
>--- servers/slapd/slap.h Sat Oct 31 13:49:00 1998
>***************
>*** 15,18 ****
>--- 15,21 ----
>  #include "lthread.h"
>  #include "ldif.h"
>+ #ifdef f_next
>+ #undef f_next /* name conflict between sys/file.h on SCO and struct
filter */
>+ #endif
>
>  #define DN_DNS 0
>
>Later we should rename f_* to something like flt_*, though that'll break
>slapd backends that use struct filter.
>
>--
>Hallvard
>