mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-31 11:20:15 +01:00
[FreeBSD] Fix build on FreeBSD after modesetting import.
This commit is contained in:
parent
b48bd3a036
commit
58d557c73b
2 changed files with 3 additions and 0 deletions
1
bsd-core/drm_mode.h
Symbolic link
1
bsd-core/drm_mode.h
Symbolic link
|
|
@ -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…
Add table
Reference in a new issue