Skip to content

Commit ae30540

Browse files
committed
fix(win): add #include <stdlib.h> inside the _WIN32 block early
Modified: • src/omnipkg/dispatcher.c (+1/-0 lines) [gitship-generated]
1 parent f8a96cf commit ae30540

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/omnipkg/dispatcher.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
# include <process.h>
3333
# include <sys/stat.h>
3434
# include <stdio.h> /* snprintf — must precede compat functions on MinGW */
35+
# include <stdlib.h> /* free/malloc — must precede win_globfree definition */
3536

3637
/* ── Windows compat macros ── */
3738
# undef MAX_PATH

0 commit comments

Comments
 (0)