mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 14:38:21 +00:00
ports: more webkitgtk work
This commit is contained in:
@@ -1,15 +1,22 @@
|
||||
diff --git libdrm-clean/include/drm/drm.h libdrm-workdir/include/drm/drm.h
|
||||
index 4e4f7c2..f0d0f63 100644
|
||||
index 4e4f7c2..a88780b 100644
|
||||
--- libdrm-clean/include/drm/drm.h
|
||||
+++ libdrm-workdir/include/drm/drm.h
|
||||
@@ -43,8 +43,17 @@ typedef unsigned int drm_handle_t;
|
||||
@@ -35,16 +35,24 @@
|
||||
#ifndef _DRM_H_
|
||||
#define _DRM_H_
|
||||
|
||||
-#if defined(__linux__)
|
||||
+#if defined(__linux__) || defined(__astral__)
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/ioctl.h>
|
||||
typedef unsigned int drm_handle_t;
|
||||
|
||||
#else /* One of the BSDs */
|
||||
|
||||
-#include <stdint.h>
|
||||
-#include <sys/ioccom.h>
|
||||
+ #include <stdint.h>
|
||||
+//#include <sys/ioccom.h>
|
||||
-
|
||||
#include <stdint.h>
|
||||
#include <sys/ioccom.h>
|
||||
+#ifdef __astral__
|
||||
+#define _IOC(dir,type,nr,size) (((dir)<<30)|((size)<<16)|((type)<<8)|(nr))
|
||||
+#define _IO(type,nr) _IOC(0,(type),(nr),0)
|
||||
|
||||
Reference in New Issue
Block a user