Skip to content

Commit eedc07a

Browse files
committed
Fix missing string.h include for cross-platform compatibility
Replace BSD-specific <strings.h> with standard <string.h> which provides strlen, strcmp, strdup, and strtok on all platforms including Linux.
1 parent 7ea0491 commit eedc07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/src/chatbot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include <stdlib.h>
22
#include <stdio.h>
3+
#include <string.h>
34
#include <ctype.h>
45
#include <limits.h>
5-
#include <strings.h>
66
#include "chatbot.h"
77

88
// hash table implementation from here

0 commit comments

Comments
 (0)