summaryrefslogtreecommitdiff
path: root/src/psmcomm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/psmcomm.h')
-rw-r--r--src/psmcomm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/psmcomm.h b/src/psmcomm.h
index a3162a2..72aaf83 100644
--- a/src/psmcomm.h
+++ b/src/psmcomm.h
@@ -1,8 +1,12 @@
#ifndef _PSMCOMM_H_
#define _PSMCOMM_H_
+#if defined(__FreeBSD) || defined(__NetBSD__) || defined(__OpenBSD)
+
#include <unistd.h>
#include <sys/ioctl.h>
-#include "freebsd_mouse.h"
+#include <freebsd/mouse.h>
+
+#endif
#endif /* _PSMCOMM_H_ */