Skip to content

Commit

Permalink
Fix Elf build errors on FreeBSD
Browse files Browse the repository at this point in the history
Taken from: PCMan#56
  • Loading branch information
patovm04 authored Dec 4, 2020
1 parent 4e1c45d commit a05ef59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gtk3-nocsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@

#include <gobject/gvaluecollector.h>

#ifdef __FreeBSD__
#include <sys/elf_generic.h>
#define ElfW(t) Elf##_##t
#endif

#ifdef G_TYPE_INSTANCE_GET_PRIVATE
# undef G_TYPE_INSTANCE_GET_PRIVATE
#endif
Expand Down

0 comments on commit a05ef59

Please sign in to comment.