[FreeBSD] Fix build on FreeBSD after modesetting import.

main
Robert Noland 2008-12-23 13:56:23 -05:00
parent b48bd3a036
commit 58d557c73b
2 changed files with 3 additions and 0 deletions

1
bsd-core/drm_mode.h Symbolic link
View File

@ -0,0 +1 @@
../shared-core/drm_mode.h

View File

@ -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