Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev include sys/param.h for EINVAL used in this header.



details:   https://anonhg.NetBSD.org/src/rev/2d7d67fe4ba4
branches:  trunk
changeset: 445981:2d7d67fe4ba4
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Nov 19 09:23:05 2018 +0000

description:
include sys/param.h for EINVAL used in this header.

(Make it more standalone)

diffstat:

 sys/dev/audio_dai.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 38e661362111 -r 2d7d67fe4ba4 sys/dev/audio_dai.h
--- a/sys/dev/audio_dai.h       Mon Nov 19 08:14:28 2018 +0000
+++ b/sys/dev/audio_dai.h       Mon Nov 19 09:23:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio_dai.h,v 1.2 2018/05/11 22:48:55 jmcneill Exp $ */
+/* $NetBSD: audio_dai.h,v 1.3 2018/11/19 09:23:05 maya Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,6 +29,8 @@
 #ifndef _DEV_AUDIO_DAI_H
 #define _DEV_AUDIO_DAI_H
 
+#include <sys/param.h>
+
 #include <dev/audio_if.h>
 
 #define        AUDIO_DAI_FORMAT_MASK           __BITS(3,0)



Home | Main Index | Thread Index | Old Index