summaryrefslogtreecommitdiff
path: root/devel/libftdi/files/patch-examples_bitbang2.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libftdi/files/patch-examples_bitbang2.c')
-rw-r--r--devel/libftdi/files/patch-examples_bitbang2.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/libftdi/files/patch-examples_bitbang2.c b/devel/libftdi/files/patch-examples_bitbang2.c
new file mode 100644
index 000000000000..a54e6898e02d
--- /dev/null
+++ b/devel/libftdi/files/patch-examples_bitbang2.c
@@ -0,0 +1,10 @@
+--- examples/bitbang2.c.orig 2010-02-03 14:18:25.000000000 +0200
++++ examples/bitbang2.c 2010-02-03 14:18:34.000000000 +0200
+@@ -30,6 +30,7 @@
+
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #ifdef __WIN32__
+ #define usleep(x) Sleep((x+999)/1000)