23 lines
945 B
C
23 lines
945 B
C
$NetBSD$
|
|
|
|
--- services/service_manager/embedder/set_process_title_linux.h.orig 2020-07-15 18:56:01.000000000 +0000
|
|
+++ services/service_manager/embedder/set_process_title_linux.h
|
|
@@ -5,6 +5,9 @@
|
|
#ifndef SERVICES_SERVICE_MANAGER_EMBEDDER_SET_PROCESS_TITLE_LINUX_H_
|
|
#define SERVICES_SERVICE_MANAGER_EMBEDDER_SET_PROCESS_TITLE_LINUX_H_
|
|
|
|
+#include "build/build_config.h"
|
|
+
|
|
+#if !defined(OS_BSD)
|
|
// Set the process title that will show in "ps" and similar tools. Takes
|
|
// printf-style format string and arguments. After calling setproctitle()
|
|
// the original main() argv[] array should not be used. By default, the
|
|
@@ -14,6 +17,7 @@
|
|
// This signature and naming is to be compatible with most other Unix
|
|
// implementations of setproctitle().
|
|
void setproctitle(const char* fmt, ...);
|
|
+#endif
|
|
|
|
// Initialize state needed for setproctitle() on Linux. Pass the argv pointer
|
|
// from main() to setproctitle_init() before calling setproctitle().
|