FreeBSD/KnotResolver/config.mkについて、ここに記述してください。

見つけそこねたinclude fileを強制追加 (CFLAGS)

%diff -c config.mk.orig config.mk ~/kresd.1.2.6

*** config.mk.orig      2017-04-24 23:13:02.000000000 +0900
--- config.mk   2017-05-13 14:23:18.721484000 +0900
***************
*** 30,35 ****
--- 30,39 ----
  # Flags
  BUILD_LDFLAGS += $(LDFLAGS)
  BUILD_CFLAGS := $(CFLAGS) -std=c99 -D_GNU_SOURCE -Wno-unused -Wtype-limits -Wformat -Wformat-security -Wall -I$(abspath .) -I$(abspath lib/generic) -I$(abspath contrib) -I$(abspath contrib/lmdb)
+ 
+ BUILD_CFLAGS += -I$(abspath $(INCLUDEDIR))
+ BUILD_CFLAGS += -I$(abspath $(INCLUDEDIR)/luajit-2.0)
+ 
  BUILD_CFLAGS += -DPACKAGE_VERSION="\"$(VERSION)\"" -DPREFIX="\"$(PREFIX)\"" -DMODULEDIR="\"$(MODULEDIR)\""
  ifeq (,$(findstring -O,$(CFLAGS)))
        BUILD_CFLAGS += -O2