diff options
author | Greg V <[email protected]> | 2017-10-23 23:20:42 +0300 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-10-26 15:11:38 +0100 |
commit | cece4ff6a328bff015e0905442254e27d339f6a0 (patch) | |
tree | db25304d1866ec71aeb9741fe9674e0cdf9649e1 /src/gallium/winsys | |
parent | db8519a369261cdedda50852facc45616d4eba28 (diff) |
winsys/svga/drm: add ERESTART define for *BSD
Obtained from: FreeBSD ports
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_screen_ioctl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c b/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c index 79f9d950d91..62a2af6d650 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c +++ b/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c @@ -70,6 +70,11 @@ vmw_region_size(struct vmw_region *region) return region->size; } +#if defined(__DragonFly__) || defined(__FreeBSD__) || \ + defined(__NetBSD__) || defined(__OpenBSD__) +#define ERESTART EINTR +#endif + uint32 vmw_ioctl_context_create(struct vmw_winsys_screen *vws) { |