summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
authorMark Kettenis <mark.kettenis@xs4all.nl>2008-01-31 21:02:48 -0800
committerEric Anholt <eric@anholt.net>2008-01-31 21:02:48 -0800
commitcc1031a834b81aa6f835c282ad86deddabe229a0 (patch)
treee43fccb58f1ebfd64dfd72f40626042b2447ef74 /src/i830_memory.c
parentb1e1c7cd993ab4f1935d750eb8852e74be757e53 (diff)
Bug #14246: Fix biuld on OpenBSD.
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 06c21acd..5dbafee8 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -99,6 +99,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <assert.h>
#include <string.h>
#include <errno.h>
+#include <sys/types.h>
#include <sys/mman.h>
#include "xf86.h"