$OpenBSD: patch-ccutil_scanutils_cpp,v 1.1 2015/11/13 12:54:23 ajacoutot Exp $
--- ccutil/scanutils.cpp.orig	Fri Nov 13 11:04:43 2015
+++ ccutil/scanutils.cpp	Fri Nov 13 11:05:13 2015
@@ -34,7 +34,7 @@
 #include "tprintf.h"
 
 // workaround for "'off_t' was not declared in this scope" with -std=c++11
-#if !defined(off_t) && !defined(__APPLE__) && !defined(__CYGWIN__)
+#if !defined(off_t) && !defined(__APPLE__) && !defined(__CYGWIN__) && !defined(__OpenBSD__)
 typedef long off_t;
 #endif  // off_t
 
