summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-01-03 13:20:50 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-01-03 13:20:50 +0000
commit5650c21711fbd1019b1feb0ffec97b0995e81d9b (patch)
tree859f69e3218b46e36d9c95088922494577f72c62
parentd3ec9b4549a8aaf996e499441cb7360b49c24768 (diff)
Build fixes for OpenBSD/alpha.
-rw-r--r--xserver/configure.ac1
-rw-r--r--xserver/hw/xfree86/os-support/bsd/alpha_video.c2
-rw-r--r--xserver/hw/xfree86/os-support/bsd/bsd_axp.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/xserver/configure.ac b/xserver/configure.ac
index d9407cfd6..822f08f92 100644
--- a/xserver/configure.ac
+++ b/xserver/configure.ac
@@ -191,6 +191,7 @@ case $host_cpu in
ALPHA_VIDEO=yes
case $host_os in
*netbsd*) AC_DEFINE(USE_ALPHA_PIO, 1, [NetBSD PIO alpha IO]) ;;
+ *openbsd*) SYS_LIBS=-lalpha ;;
esac
;;
arm*)
diff --git a/xserver/hw/xfree86/os-support/bsd/alpha_video.c b/xserver/hw/xfree86/os-support/bsd/alpha_video.c
index 6cb58fa4b..aa8844830 100644
--- a/xserver/hw/xfree86/os-support/bsd/alpha_video.c
+++ b/xserver/hw/xfree86/os-support/bsd/alpha_video.c
@@ -43,7 +43,7 @@
# include <machine/sysarch.h>
#endif
-#include "xf86Axp.h"
+#include "shared/xf86Axp.h"
#include "xf86_OSlib.h"
#include "xf86OSpriv.h"
diff --git a/xserver/hw/xfree86/os-support/bsd/bsd_axp.c b/xserver/hw/xfree86/os-support/bsd/bsd_axp.c
index 51ffef148..cb10a9d40 100644
--- a/xserver/hw/xfree86/os-support/bsd/bsd_axp.c
+++ b/xserver/hw/xfree86/os-support/bsd/bsd_axp.c
@@ -7,7 +7,7 @@
#include "os.h"
#include "xf86.h"
#include "xf86Priv.h"
-#include "xf86Axp.h"
+#include "shared/xf86Axp.h"
#include <sys/param.h>
#include "xf86_OSlib.h"
#include <stdio.h>