Fix build on OpenBSD and fix small typo. (Bug #3502)
[asterisk/asterisk.git] / apps / Makefile
index 8f2f4f5..d66ff31 100755 (executable)
@@ -53,6 +53,9 @@ APPS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo "app_osplookup.so" ; f
 CURLLIBS=$(shell curl-config --libs)
 ifneq (${CURLLIBS},)
        APPS+=app_curl.so
+       ifeq (${OSARCH},OpenBSD)
+               CFLAGS+=-I/usr/local/include
+       endif
 endif
 
 CFLAGS+=-fPIC