summaryrefslogtreecommitdiff
path: root/libusb
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-02 15:57:46 +0000
committerPete Batard <pbatard@gmail.com>2010-03-02 15:57:46 +0000
commit35d428fd029a54207b1cee6d46ab29310385e0fd (patch)
tree5407af1f66b3c2386170b450661e3846aac5cb9d /libusb
parent4c38f2bef9640a43d45f245adeb1f31dec295e14 (diff)
downloadlibusb-35d428fd029a54207b1cee6d46ab29310385e0fd.tar.gz
renamed unistd_posix.h to poll_posix.h
Diffstat (limited to 'libusb')
-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