Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Aug 11, 2024
1 parent 00efdf5 commit 85460d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ccode/value.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
#include <stdbool.h>
#include <stdio.h>

#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE
#endif

#ifdef __STRICT_ANSI__
#define strdup(A) strcpy(calloc(strlen(A) + 1, sizeof(char)), A);
int setenv(const char *name, const char *value, int overwrite);
#endif

typedef struct _variable {
Expand Down

0 comments on commit 85460d6

Please sign in to comment.