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/ee6ff6ecf53f
branches:  trunk
changeset: 837100:ee6ff6ecf53f
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 e102623aac8d -r ee6ff6ecf53f 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