$OpenBSD: patch-configure_ac,v 1.1.1.1 2016/01/07 17:12:21 feinerer Exp $
--- configure.ac.orig	Mon Oct 12 22:33:47 2015
+++ configure.ac	Sat Jan  2 20:55:35 2016
@@ -142,6 +142,9 @@ case "$host_os" in
   linux*)
     linux_os="yes"
     ;;
+  freebsd*)
+    freebsd_os="yes"
+    ;;
 esac
 
 AM_CONDITIONAL([LINUX_OS], [test x$linux_os = xyes])
@@ -410,7 +413,7 @@ AS_IF([test x$enable_libv4l = xno],   [AC_SUBST([ENFOR
 
 if test "x$linux_os" = "xyes"; then
   CPPFLAGS="-I\$(top_srcdir)/include $CPPFLAGS"
-else
+elif test "x$freebsd_os" = "xyes"; then
   CPPFLAGS="-I\$(top_srcdir)/contrib/freebsd/include $CPPFLAGS"
 fi
 
