Skip to content

Commit

Permalink
Fix missing libgen.h include
Browse files Browse the repository at this point in the history
Fixes build on macOS. See #6.
  • Loading branch information
philpem committed Mar 30, 2021
1 parent 7b5963c commit a739dac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ptexplain.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <ctype.h>
#include <assert.h>
#include <getopt.h>
#include <libgen.h>

#if HAVE_LIBPNG
# include <png.h>
Expand Down
1 change: 1 addition & 0 deletions rastertoptch.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
#include <limits.h>
#include <stdbool.h>
#include <getopt.h>
#include <libgen.h>

static const char* progname;

Expand Down

0 comments on commit a739dac

Please sign in to comment.