File: missing-includes-implicit-function-declaration-fix.patch

package info (click to toggle)
xf86-input-mtrack 0.3.1-1.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,888 kB
  • sloc: sh: 11,634; ansic: 2,852; makefile: 217
file content (28 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Add patch to fix missing includes
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: 2024-04-17

Index: xf86-input-mtrack-0.3.1/src/gestures.c
===================================================================
--- xf86-input-mtrack-0.3.1.orig/src/gestures.c
+++ xf86-input-mtrack-0.3.1/src/gestures.c
@@ -28,6 +28,7 @@
 #include "gestures.h"
 #include "mtouch.h"
 #include "trig.h"
+#include <mtdev-plumbing.h>
 
 #define IS_VALID_BUTTON(x) (x >= 0 && x <= 31)
 
Index: xf86-input-mtrack-0.3.1/tools/mtrack-test.c
===================================================================
--- xf86-input-mtrack-0.3.1.orig/tools/mtrack-test.c
+++ xf86-input-mtrack-0.3.1/tools/mtrack-test.c
@@ -23,6 +23,7 @@
 #include "mtouch.h"
 #include <fcntl.h>
 #include <stdarg.h>
+#include <unistd.h>
 
 void xf86Msg(int type, const char *format, ...)
 {