variable-definition error on recent FreeBSDen (evidently, that platform
also HAS_STRUCT_CMSGCRED). Backport of 7.4 fix dated 2003-10-25.
/* Point to start of first structure */
struct cmsghdr *cmsg = (struct cmsghdr *) cmsgmem;
#endif
-#ifdef HAVE_STRUCT_SOCKCRED
- /* Prevent padding */
- char cmsgmem[sizeof(struct cmsghdr) + sizeof(struct sockcred)];
-
- /* Point to start of first structure */
- struct cmsghdr *cmsg = (struct cmsghdr *) cmsgmem;
-#endif
/*
* The backend doesn't care what we send here, but it wants exactly