<sys/socket.h>: it doesn't expose anything kdump cares about.
Also, COMPAT_43 is dead
warning noted by deraadt@
#!/bin/sh
-# $OpenBSD: mksubr,v 1.25 2014/12/11 05:44:12 guenther Exp $
+# $OpenBSD: mksubr,v 1.26 2015/01/18 20:05:20 guenther Exp $
#
# Copyright (c) 2006 David Kirchner <dpk@dpk.net>
#
#undef _KERNEL
#include <sys/wait.h>
#include <sys/proc.h>
-#define _KERNEL
-#define COMPAT_43
#include <sys/socket.h>
-#undef _KERNEL
#include <netinet/in.h>
#include <sys/param.h>
#include <sys/mount.h>