summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-09-15 19:08:19 +0000
committermiod <miod@openbsd.org>2014-09-15 19:08:19 +0000
commitb7cf9720febeb096fb761a178c4631bcd554216e (patch)
tree851ccce163233d92b7ad532be6dffabce90faa72 /usr.sbin/apmd
parentAdd generic support for bridges that support subtractive decoding. (diff)
downloadwireguard-openbsd-b7cf9720febeb096fb761a178c4631bcd554216e.tar.xz
wireguard-openbsd-b7cf9720febeb096fb761a178c4631bcd554216e.zip
Remove non-standard <sys/dkstat.h> header. It has not contained anything
related to disk stastics for almost 17 years, and the remaining userland-visible defines duplicate those found in <sys/sched.h>. Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and update all users to cope with this. ok kettenis@
Diffstat (limited to 'usr.sbin/apmd')
-rw-r--r--usr.sbin/apmd/apmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/apmd/apmd.c b/usr.sbin/apmd/apmd.c
index 4c0a62bb9a0..53154f5b6ef 100644
--- a/usr.sbin/apmd/apmd.c
+++ b/usr.sbin/apmd/apmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmd.c,v 1.66 2014/08/15 03:51:40 guenther Exp $ */
+/* $OpenBSD: apmd.c,v 1.67 2014/09/15 19:08:22 miod Exp $ */
/*
* Copyright (c) 1995, 1996 John T. Kohl
@@ -37,7 +37,7 @@
#include <sys/wait.h>
#include <sys/event.h>
#include <sys/time.h>
-#include <sys/dkstat.h>
+#include <sys/sched.h>
#include <sys/sysctl.h>
#include <stdio.h>
#include <syslog.h>