$NetBSD$

--- GNUmakefile.orig	2007-05-08 13:41:50.000000000 +1000
+++ GNUmakefile
@@ -49,7 +49,6 @@ CLIBRARY_NAME = libobjc
 # dce, decosf1, irix, mach, os2, posix, pthreads, single, solaris, vxworks
 THREADING = posix
 ifeq ($(GNUSTEP_TARGET_OS),netbsdelf)
-ADDITIONAL_CPPFLAGS += -DMISSING_SCHED_PARAM_STRUCT
 endif
 ifeq ($(GNUSTEP_TARGET_OS),mingw32)
 THREADING = win32
@@ -166,6 +165,7 @@ include $(GNUSTEP_MAKEFILES)/clibrary.ma
 ADDITIONAL_INCLUDE_DIRS += \
 	-Iconfig/$(GNUSTEP_TARGET_CPU)/$(GNUSTEP_TARGET_OS) \
 	-Iconfig/$(GNUSTEP_TARGET_CPU)/generic \
+	-Iconfig/unknown/generic \
 	-I.
 
 before-all:: runtime-info.h
