git: 55224280e2f2 - main - mixer(3): Fix for header file pollution.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jan 2022 10:44:33 UTC
The branch main has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=55224280e2f20474f83001cbc402b21fba8f1c4b
commit 55224280e2f20474f83001cbc402b21fba8f1c4b
Author: Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-01-04 10:42:45 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-01-04 10:43:59 +0000
mixer(3): 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 1a448d222bb7..fe01b92b4c99 100644
--- a/lib/libmixer/mixer.c
+++ b/lib/libmixer/mixer.c
@@ -25,6 +25,7 @@
#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 6e77fdec421f..957074543e75 100644
--- a/lib/libmixer/mixer.h
+++ b/lib/libmixer/mixer.h
@@ -27,7 +27,6 @@
#include <sys/cdefs.h>
#include <sys/queue.h>
-#include <sys/soundcard.h>
#include <limits.h>