X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcommon%2Fserial.c;h=80b6f22cd2a37e2be1edae8e1344956343397863;hb=f020a99773d1431ee58090e9515dc19b10e7463f;hp=339577630eeeddf26ca472e4696fc8560b15b231;hpb=9a751023136a058dadf008a4ff983351947cc0df;p=libsigrok.git diff --git a/hardware/common/serial.c b/hardware/common/serial.c index 33957763..80b6f22c 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -30,12 +30,12 @@ #endif #include #include -#include -#include +#include "sigrok.h" +#include "sigrok-internal.h" // FIXME: Must be moved, or rather passed as function argument. #ifdef _WIN32 -HANDLE hdl; +static HANDLE hdl; #endif const char *serial_port_glob[] = {