Skip to content

Commit

Permalink
Fix build on FreeBSD (sempahore union support). (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimCitus committed May 17, 2022
1 parent 430e632 commit 3573e54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bin/pg_autoctl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ DEFAULT_CFLAGS += -Werror=implicit-function-declaration
DEFAULT_CFLAGS += -Werror=return-type
DEFAULT_CFLAGS += -Wno-declaration-after-statement

# Needed for FreeBSD
DEFAULT_CFLAGS += -D_WANT_SEMUN

# Needed for OSX
DEFAULT_CFLAGS += -Wno-missing-braces
DEFAULT_CFLAGS += $(COMMON_LIBS)
Expand Down

0 comments on commit 3573e54

Please sign in to comment.