Skip to content

Commit

Permalink
Update header
Browse files Browse the repository at this point in the history
  • Loading branch information
Necas209 committed Apr 2, 2024
1 parent 38ce34d commit 01889ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/lib/lab.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
#include <stdio.h>
#include <time.h>
#include <errno.h>
#include <libc.h>

#if defined(__APPLE__) && defined(__MACH__)

#include <stdlib.h>

#endif
#if defined(__linux__)
#include <bsd/stdlib.h>
#endif

// Set the foreground and background color
__attribute__((unused)) void setColor(const ansi_color_t foreground, const ansi_bg_color_t background) {
Expand Down

0 comments on commit 01889ce

Please sign in to comment.