From 6e9560d1a16dc151839634db8750fc562aded49e Mon Sep 17 00:00:00 2001 From: Daniel Adam Date: Fri, 11 Feb 2022 18:58:57 +0100 Subject: [PATCH] fixup! Create header with exports for python client --- python/oc_python.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/oc_python.c b/python/oc_python.c index 41334ac8ba..3b194e24d3 100644 --- a/python/oc_python.c +++ b/python/oc_python.c @@ -30,10 +30,10 @@ #include "oc_streamlined_onboarding.h" #endif -#include #if defined(_WIN32) #include #elif defined(__linux__) +#include #include #else #error "Unsupported OS" @@ -2445,7 +2445,11 @@ python_main(void) display_device_uuid(); while (quit != 1) { +#if defined(_WIN32) + Sleep(5000); +#elif defined(__linux__) sleep(5); +#endif } #if defined(_WIN32)