summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>