Print this page
5255 uts shouldn't open-code ISP2
@@ -39,10 +39,11 @@
*/
#ifndef _DRMP_H
#define _DRMP_H
+#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/conf.h>
#include <sys/modctl.h>
#include <sys/stat.h>
#include <sys/file.h>
@@ -324,13 +325,10 @@
#define DRM_SUPPORT 1
#define DRM_UNSUPPORT 0
#define __OS_HAS_AGP 1
-#define __offsetof(type, field) ((size_t)(&((type *)0)->field))
-#define offsetof(type, field) __offsetof(type, field)
-
typedef struct drm_pci_id_list
{
int vendor;
int device;
long driver_private;