diff --git src/Makefile src/Makefile
index 06a7094c..725015f2 100644
--- src/Makefile
+++ src/Makefile
@@ -229,6 +229,10 @@ ifneq (,$(filter ${USE_INOTIFY},auto yes y Y 1))
 		OSSEC_LDFLAGS+=-linotify -L/usr/local/lib -I/usr/local/include
 		OSSEC_CFLAGS+=-I/usr/local/include
 	endif
+	ifeq (${uname_S},OpenBSD)
+		OSSEC_LDFLAGS+=-linotify -L/usr/local/lib/inotify -I/usr/local/include/inotify
+		OSSEC_CFLAGS+=-I/usr/local/include/inotify
+	endif
 endif
 
 ifneq (,$(filter ${USE_PRELUDE},auto yes y Y 1))
