Skip to content

Commit f0d30fc

Browse files
committed
fix crash in latest llvm
1 parent eedc07a commit f0d30fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

c/src/chatbot.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Enable POSIX functions (strdup, strncasecmp, etc.)
2+
#define _POSIX_C_SOURCE 200809L
3+
14
#include <stdlib.h>
25
#include <stdio.h>
36
#include <string.h>

0 commit comments

Comments
 (0)