diff --git a/src/sbbs3/scfg/GNUmakefile b/src/sbbs3/scfg/GNUmakefile index a0078be1d6dceaddfeef19fbda64ad360844c448..566f8c4b25ce100f5529834cdd3cd4fd35bc5aed 100644 --- a/src/sbbs3/scfg/GNUmakefile +++ b/src/sbbs3/scfg/GNUmakefile @@ -72,6 +72,11 @@ endif include targets.mk # defines all targets include objects.mk # defines $(OBJS) +ifeq ($(os),gnu) + OBJS += $(ODIR)$(SLASH)sem.$(OFILE) + CFLAGS += -D_NEED_SEM +endif + ifdef USE_DIALOG OBJS += $(ODIR)$(SLASH)uifcd.$(OFILE) endif