Skip to content

Commit

Permalink
Include unistd.h for STDOUT_FILENO
Browse files Browse the repository at this point in the history
STDOUT_FILENO is defined in unistd.h, see [POSIX](https://pubs.opengroup.org/onlinepubs/9799919799/).

This is required on FreeBSD.
  • Loading branch information
gahr committed Oct 1, 2024
1 parent ac62420 commit 22fe35c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compression_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <stdio.h>
#include <ctype.h>
#include <stdbool.h>
#include <unistd.h>
#include <zlib.h>
#include <bzlib.h>
#include <lzma.h>
Expand Down

0 comments on commit 22fe35c

Please sign in to comment.