The offsetof macro is causing compiler warnings since it is being
redefined, but it is anyway not used, so drop it completely.
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
#include <sys/socket.h>
#include <sys/un.h>
-#define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER)
-
int main(int argc, char *argv[])
{
struct sockaddr_un sun;