[FreeBSD] Fix build on FreeBSD after modesetting import.
parent
b48bd3a036
commit
58d557c73b
|
@ -0,0 +1 @@
|
|||
../shared-core/drm_mode.h
|
|
@ -27,11 +27,13 @@
|
|||
#ifndef _DRM_MODE_H
|
||||
#define _DRM_MODE_H
|
||||
|
||||
#ifdef __linux__
|
||||
#if !defined(__KERNEL__) && !defined(_KERNEL)
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#include <linux/kernel.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define DRM_DISPLAY_INFO_LEN 32
|
||||
#define DRM_CONNECTOR_NAME_LEN 32
|
||||
|
|
Loading…
Reference in New Issue