Skip to content

Commit 12739bd

Browse files
authored
Fix some implicit function declarations
Hstrdup.c: missing stdlib.h for exit() Hstrtoul.c: missing string.h for strcmp()
1 parent cb35202 commit 12739bd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pTk/config/Hstrdup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <stdlib.h>
12
#include <string.h>
23

34
#define STRING "Whatever"

pTk/config/Hstrtoul.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <stdlib.h>
2+
#include <string.h>
23

34
int main()
45
{char *e;

0 commit comments

Comments
 (0)