mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
30 lines
848 B
C
30 lines
848 B
C
$NetBSD: patch-src_sun__kbd.c,v 1.1 2015/04/06 13:28:22 tnn Exp $
|
|
|
|
--- src/sun_kbd.c.orig 2013-03-27 00:56:38.000000000 +0000
|
|
+++ src/sun_kbd.c
|
|
@@ -49,6 +49,12 @@
|
|
#include "config.h"
|
|
#endif
|
|
|
|
+#include <unistd.h> /* for ioctl */
|
|
+#include <sys/stropts.h>
|
|
+#include <sys/vuid_event.h>
|
|
+#include <sys/kbd.h>
|
|
+#include <sys/note.h> /* needed before including older versions of hid.h */
|
|
+#include <sys/usb/clients/hid/hid.h>
|
|
#include <xorg-server.h>
|
|
#include "xf86.h"
|
|
#include "xf86Priv.h"
|
|
@@ -56,11 +62,6 @@
|
|
#include "xf86OSKbd.h"
|
|
#include "sun_kbd.h"
|
|
|
|
-#include <sys/stropts.h>
|
|
-#include <sys/vuid_event.h>
|
|
-#include <sys/kbd.h>
|
|
-#include <sys/note.h> /* needed before including older versions of hid.h */
|
|
-#include <sys/usb/clients/hid/hid.h>
|
|
|
|
static int KbdOn(InputInfoPtr pInfo, int what);
|
|
static Bool OpenKeyboard(InputInfoPtr pInfo);
|