Module Name: src Committed By: riastradh Date: Sun Dec 19 00:29:10 UTC 2021
Modified Files: src/sys/external/bsd/drm2/dist/drm: drm_print.c Log Message: <sys/stdarg.h> in NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/dist/drm/drm_print.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/dist/drm/drm_print.c diff -u src/sys/external/bsd/drm2/dist/drm/drm_print.c:1.2 src/sys/external/bsd/drm2/dist/drm/drm_print.c:1.3 --- src/sys/external/bsd/drm2/dist/drm/drm_print.c:1.2 Sat Dec 18 23:44:57 2021 +++ src/sys/external/bsd/drm2/dist/drm/drm_print.c Sun Dec 19 00:29:09 2021 @@ -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>