Skip to content

Commit

Permalink
Fix missing <unistd.h> header for sleep(3) definition (#52)
Browse files Browse the repository at this point in the history
Clean up build warning:
src/calibrate.c: In function ‘Calibrate’:
src/calibrate.c:32:9: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration]
   32 |         sleep(1);

Signed-off-by: Colin Ian King <[email protected]>
  • Loading branch information
ColinIanKing authored Aug 17, 2023
1 parent 705079a commit d82f25d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/calibrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//###########################################################################################################

#include <stdio.h>
#include <unistd.h>

typedef unsigned long long uint64_t;

Expand Down

0 comments on commit d82f25d

Please sign in to comment.