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

Fix Elf build errors on FreeBSD #6

Merged
merged 1 commit into from
Dec 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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