summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libusb/Makefile.am4
-rw-r--r--libusb/core.c2
-rw-r--r--libusb/io.c2
-rw-r--r--libusb/os/poll_posix.h (renamed from libusb/os/unistd_posix.h)0
4 files changed, 4 insertions, 4 deletions
diff --git a/libusb/Makefile.am b/libusb/Makefile.am
index e8de9f5..1ec8829 100644
--- a/libusb/Makefile.am
+++ b/libusb/Makefile.am
@@ -6,8 +6,8 @@ else
THREADS_SRC = os/threads_windows.h os/threads_windows.c
endif
-LINUX_USBFS_SRC = $(THREADS_SRC) os/unistd_posix.h os/linux_usbfs.h os/linux_usbfs.c
-DARWIN_USB_SRC = $(THREADS_SRC) os/unistd_posix.h os/darwin_usb.h os/darwin_usb.c
+LINUX_USBFS_SRC = $(THREADS_SRC) os/poll_posix.h os/linux_usbfs.h os/linux_usbfs.c
+DARWIN_USB_SRC = $(THREADS_SRC) os/poll_posix.h os/darwin_usb.h os/darwin_usb.c
WINDOWS_USB_SRC = $(THREADS_SRC) os/windows_compat.h os/windows_compat.c os/windows_usb.h os/windows_usb.c
EXTRA_DIST = $(LINUX_USBFS_SRC) $(DARWIN_USB_SRC) $(WINDOWS_USB_SRC)
diff --git a/libusb/core.c b/libusb/core.c
index ed41c82..7be7f11 100644
--- a/libusb/core.c
+++ b/libusb/core.c
@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#ifndef OS_WINDOWS
-#include "os/unistd_posix.h"
+#include "os/poll_posix.h"
#endif
#include "libusbi.h"
diff --git a/libusb/io.c b/libusb/io.c
index 48122b5..a7728e0 100644
--- a/libusb/io.c
+++ b/libusb/io.c
@@ -25,7 +25,7 @@
#include <string.h>
#ifndef OS_WINDOWS
-#include "os/unistd_posix.h"
+#include "os/poll_posix.h"
#endif
#ifdef USBI_TIMERFD_AVAILABLE
diff --git a/libusb/os/unistd_posix.h b/libusb/os/poll_posix.h
index 0e9981d..0e9981d 100644
--- a/libusb/os/unistd_posix.h
+++ b/libusb/os/poll_posix.h