Print this page
5255 uts shouldn't open-code ISP2
*** 39,48 ****
--- 39,49 ----
*/
#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,336 ****
#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;
--- 325,334 ----