Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Fix Elf build errors on FreeBSD (#6)
Browse files Browse the repository at this point in the history
Taken from: PCMan#56
  • Loading branch information
patovm04 committed Dec 4, 2020
1 parent 4e1c45d commit 3b03760
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 3b03760

Please sign in to comment.