--- nsswitch/winbind_client.h.orig Fri Feb 25 18:59:30 2005 +++ nsswitch/winbind_client.h Sun May 1 02:32:30 2005 @@ -1,6 +1,13 @@ #include "winbind_nss_config.h" #include "winbindd_nss.h" +#ifndef CONST_DISCARD +#define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr))) +#endif +#ifndef CONST_ADD +#define CONST_ADD(type, ptr) ((type) ((const void *) (ptr))) +#endif + void init_request(struct winbindd_request *req,int rq_type); NSS_STATUS winbindd_send_request(int req_type, struct winbindd_request *request);