Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/drm <sys/stdarg.h> in NetBSD.



details:   https://anonhg.NetBSD.org/src/rev/3541cc323126
branches:  trunk
changeset: 1027780:3541cc323126
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:29:09 2021 +0000

description:
<sys/stdarg.h> in NetBSD.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_print.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 9deb22247fd9 -r 3541cc323126 sys/external/bsd/drm2/dist/drm/drm_print.c
--- a/sys/external/bsd/drm2/dist/drm/drm_print.c        Sun Dec 19 00:29:02 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_print.c        Sun Dec 19 00:29:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_print.c,v 1.2 2021/12/18 23:44:57 riastradh Exp $  */
+/*     $NetBSD: drm_print.c,v 1.3 2021/12/19 00:29:09 riastradh Exp $  */
 
 /*
  * Copyright (C) 2016 Red Hat
@@ -26,14 +26,18 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_print.c,v 1.2 2021/12/18 23:44:57 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_print.c,v 1.3 2021/12/19 00:29:09 riastradh Exp $");
 
 #define DEBUG /* for pr_debug() */
 
+#ifdef __NetBSD__
+#include <sys/stdarg.h>
+#else
 #include <stdarg.h>
 
 #include <linux/io.h>
 #include <linux/moduleparam.h>
+#endif
 #include <linux/seq_file.h>
 #include <linux/slab.h>
 



Home | Main Index | Thread Index | Old Index