Skip to content

Commit 5519941

Browse files
add missing headers
1 parent 57d7d2d commit 5519941

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

code/logic/stream.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "fossil/io/stream.h"
1515
#include "fossil/io/error.h"
1616
#include <stdio.h>
17+
#include <stdlib.h>
1718
#include <string.h>
1819
#include <errno.h>
1920

@@ -22,6 +23,8 @@
2223
#include <io.h>
2324
#else
2425
#include <sys/stat.h>
26+
#include <sys/types.h>
27+
#include <fcntl.h>
2528
#include <unistd.h>
2629
#endif
2730

0 commit comments

Comments
 (0)