summaryrefslogtreecommitdiff
path: root/camlibs/toshiba
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/toshiba')
-rw-r--r--camlibs/toshiba/pdrm11/pdrm11.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/camlibs/toshiba/pdrm11/pdrm11.c b/camlibs/toshiba/pdrm11/pdrm11.c
index 965d4fcd5..8fb7f2a54 100644
--- a/camlibs/toshiba/pdrm11/pdrm11.c
+++ b/camlibs/toshiba/pdrm11/pdrm11.c
@@ -30,6 +30,11 @@
#define GP_MODULE "pdrm11"
#define ETIMEDOUT 110
+/* do not sleep during fuzzing */
+#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
+# define usleep(x)
+#endif
+
static int pdrm11_select_file(GPPort *port, uint16_t file);
int pdrm11_init(GPPort *port)