winebus.sys: Get inotify working on FreeBSD.
FreeBSD requires linking to the inotify library, and including limits.h. Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com> Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
30fb17bda0
commit
82a5be4637
|
@ -1,7 +1,7 @@
|
|||
MODULE = winebus.sys
|
||||
UNIXLIB = winebus.so
|
||||
IMPORTS = ntoskrnl hidparse
|
||||
EXTRALIBS = $(IOKIT_LIBS) $(UDEV_LIBS) $(PTHREAD_LIBS)
|
||||
EXTRALIBS = $(IOKIT_LIBS) $(UDEV_LIBS) $(PTHREAD_LIBS) $(INOTIFY_LIBS)
|
||||
EXTRAINCL = $(UDEV_CFLAGS) $(SDL2_CFLAGS)
|
||||
|
||||
EXTRADLLFLAGS = -Wl,--subsystem,native
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
#ifdef HAVE_SYS_INOTIFY_H
|
||||
# include <sys/inotify.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef HAVE_LINUX_INPUT_H
|
||||
# include <linux/input.h>
|
||||
|
|
Loading…
Reference in New Issue