Skip to content

Commit ee7a821

Browse files
committed
Add _POSIX_C_SOURCE for getline and fix function prototypes
1 parent 2e00602 commit ee7a821

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sipnet/events.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
*/
1111
// clang-format on
1212

13+
#define _POSIX_C_SOURCE 200809L
14+
1315
#include "events.h"
1416
#include <math.h>
1517
#include <stdio.h>

0 commit comments

Comments
 (0)