Index: vendor/logging/liblog/logger_write.cpp
--- vendor/logging/liblog/logger_write.cpp.orig
+++ vendor/logging/liblog/logger_write.cpp
@@ -120,7 +120,7 @@ void __android_log_close() {
 }
 
 // BSD-based systems like Android/macOS have getprogname(). Others need us to provide one.
-#if !defined(__APPLE__) && !defined(__BIONIC__)
+#if !defined(__APPLE__) && !defined(__BIONIC__) && !defined(__OpenBSD__)
 static const char* getprogname() {
 #ifdef _WIN32
   static bool first = true;
