Skip to content

Commit fc87d96

Browse files
kholiaDhiru Kholia
authored andcommitted
Fix compilation on Ubuntu Linux
Without this change: ``` $ make ... demo/decode_ft8.c:347:31: error: ‘CLOCK_REALTIME’ undeclared (first use in this function) 347 | clock_gettime(CLOCK_REALTIME, &spec); ```
1 parent 50ee0c0 commit fc87d96

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

demo/decode_ft8.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#define _POSIX_C_SOURCE 199309L
2+
13
#include <stdlib.h>
24
#include <string.h>
35
#include <stdio.h>

0 commit comments

Comments
 (0)