Skip to content

Commit

Permalink
try to get ftruncate enabled on FreeBSD with _XOPEN_SOURCE 500
Browse files Browse the repository at this point in the history
  • Loading branch information
msmeissn committed Jan 7, 2024
1 parent 04aea15 commit 9ce6c6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libgphoto2/gphoto2-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#define _POSIX_SOURCE
#define _DEFAULT_SOURCE
#define _DARWIN_C_SOURCE
#define _XOPEN_SOURCE 500

#include "config.h"
#include <gphoto2/gphoto2-file.h>
Expand Down

0 comments on commit 9ce6c6c

Please sign in to comment.