neuwld

patched neuwld library (tracked)
git clone https://git.daat.foo/neuwld.git
Log | Files | Refs | README | LICENSE

commit ea4eccb64cfcfc508b029a530fc434d6e6695af5
parent 393f20c758e3829b70a748765b72f1c95f3c506f
Author: nia <nia@netbsd.org>
Date:   Thu, 20 Feb 2020 13:13:33 +0000

drm: Check if major() gets defined in sys/types.h before including sys/sysmacros.h

Diffstat:
Mdrm.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/drm.c b/drm.c @@ -24,7 +24,10 @@ #include "drm.h" #include "drm-private.h" +#include <sys/types.h> +#ifndef major #include <sys/sysmacros.h> +#endif const static struct drm_driver *drivers[] = { #if WITH_DRM_INTEL