summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2013-02-27 22:58:49 +0000
committerPete Batard <pete@akeo.ie>2013-02-27 22:58:49 +0000
commit0ded9c126e9b48b5ed217e60d392cfb882cbc351 (patch)
tree96dcffe37667b4a47845a0e4d8d9af1b6c0022e1 /tests
parentc56f89068452f6ff144cd72ad234540049c06433 (diff)
downloadlibusb-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 'tests')
-rw-r--r--tests/stress.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/stress.c b/tests/stress.c
index 26860a0..e53f415 100644
--- a/tests/stress.c
+++ b/tests/stress.c
@@ -19,12 +19,8 @@
#include <stdio.h>
#include <memory.h>
-#if !defined(_WIN32_WCE)
-#include <sys/types.h>
-#endif
#include "libusb.h"
-
#include "libusbx_testlib.h"
/** Test that creates and destroys a single concurrent context