# HG changeset patch
# User ben
# Date 1189874738 0
# Node ID 263c0b282d905f0960cd9f354ea1c60d735c0673
# Parent  e7f836a459eaad528e2273cc5b8a66b72f4746c9
this flag needs to be defined for pread() on powerpc

diff -r e7f836a459ea -r 263c0b282d90 vidix/pci.c
--- a/vidix/pci.c	Sat Sep 15 16:42:50 2007 +0000
+++ b/vidix/pci.c	Sat Sep 15 16:45:38 2007 +0000
@@ -56,6 +56,7 @@
 #include <string.h>
 #include <stdio.h>
 #ifdef __unix__
+#define __USE_UNIX98
 #include <unistd.h>
 #endif
 #include "AsmMacros.h"