git: fff236e89d8a - main - mixer(3): Revert: "Fix for header file pollution."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jan 2022 11:35:54 UTC
The branch main has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=fff236e89d8af195e9fc7b458841522e8a5378b6
commit fff236e89d8af195e9fc7b458841522e8a5378b6
Author: Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-01-04 11:33:13 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-01-04 11:35:23 +0000
mixer(3): Revert: "Fix for header file pollution."
Differential Revision: https://reviews.freebsd.org/D33732
Submitted by: christos@
MFC after: 1 week
Sponsored by: NVIDIA Networking
---
lib/libmixer/mixer.c | 1 -
lib/libmixer/mixer.h | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libmixer/mixer.c b/lib/libmixer/mixer.c
index fe01b92b4c99..1a448d222bb7 100644
--- a/lib/libmixer/mixer.c
+++ b/lib/libmixer/mixer.c
@@ -25,7 +25,6 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/sysctl.h>
-#include <sys/soundcard.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/lib/libmixer/mixer.h b/lib/libmixer/mixer.h
index 957074543e75..6e77fdec421f 100644
--- a/lib/libmixer/mixer.h
+++ b/lib/libmixer/mixer.h
@@ -27,6 +27,7 @@
#include <sys/cdefs.h>
#include <sys/queue.h>
+#include <sys/soundcard.h>
#include <limits.h>