diff options
author | Pete Batard <pete@akeo.ie> | 2013-02-27 22:58:49 +0000 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2013-02-27 22:58:49 +0000 |
commit | 0ded9c126e9b48b5ed217e60d392cfb882cbc351 (patch) | |
tree | 96dcffe37667b4a47845a0e4d8d9af1b6c0022e1 /libusb/io.c | |
parent | c56f89068452f6ff144cd72ad234540049c06433 (diff) | |
download | libusb-0ded9c126e9b48b5ed217e60d392cfb882cbc351.tar.gz |
Misc: Simplify includes and misc. cleanup
* fxload sample provenance
* No need for <sys/types.h> in samples as already in libusb.h
* Don't bother about sscanf_s in xusb
* Use HAVE_### and rely on config.h where possible
* Formal inclusion of <winsock.h> in libusb.h for WinCE and WDK
* Cleanup of Windows' config.h
* Avoid ENAMETOOLONG and ENOTEMPTY conflict between errno.h and winsock.h for WinCE
* Additional newlines & braces cleanup
Diffstat (limited to 'libusb/io.c')
-rw-r--r-- | libusb/io.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libusb/io.c b/libusb/io.c index 58c077c..2539b26 100644 --- a/libusb/io.c +++ b/libusb/io.c @@ -24,15 +24,12 @@ #include <stdlib.h> #include <string.h> #include <time.h> - #ifdef HAVE_SIGNAL_H #include <signal.h> #endif - #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif - #ifdef USBI_TIMERFD_AVAILABLE #include <sys/timerfd.h> #endif |