Index: src/util/exe_path.cc
--- src/util/exe_path.cc.orig
+++ src/util/exe_path.cc
@@ -81,6 +81,15 @@ base::FilePath GetExePath() {
   return base::FilePath(buf);
 }
 
+#elif defined(OS_OPENBSD)
+
+base::FilePath GetExePath() {
+  char execpath[PATH_MAX];
+  if (getexecpath(execpath, sizeof(execpath)) != 0)
+    return base::FilePath();
+  return base::FilePath(execpath);
+}
+
 #elif defined(OS_HAIKU)
 
 base::FilePath GetExePath() {
