summaryrefslogtreecommitdiff
path: root/camlibs/gsmart300/gsmart300.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/gsmart300/gsmart300.c')
-rw-r--r--camlibs/gsmart300/gsmart300.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camlibs/gsmart300/gsmart300.c b/camlibs/gsmart300/gsmart300.c
index 11f7410fa..c3709a31e 100644
--- a/camlibs/gsmart300/gsmart300.c
+++ b/camlibs/gsmart300/gsmart300.c
@@ -57,6 +57,10 @@
# define N_(String) (String)
#endif
+#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
+#define sleep(x)
+#endif
+
#define GP_MODULE "gsmart300"
static int gsmart300_download_data (CameraPrivateLibrary * lib,
int data_type, uint16_t index, unsigned int size,