From 4030d4e959b88baac1b281882b8753a612106f78 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 15 Sep 2014 18:37:59 +0100 Subject: [PATCH 3/4] Add NetBSD to the list of platforms where credentials-passing a pid should work --- test/dbus-daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c index d5a9617..9169d2d 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -52,6 +52,7 @@ */ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \ defined(__linux__) || \ + defined(__NetBSD__) || \ defined(__OpenBSD__) # define UNIX_USER_SHOULD_WORK # define PID_SHOULD_WORK @@ -63,7 +64,7 @@ * These platforms should also #error in _dbus_read_credentials_socket() * if we didn't detect their flavour of credentials-passing. */ -#if defined(__NetBSD__) +#if 0 /* defined(__your_platform_here__) */ # define UNIX_USER_SHOULD_WORK #endif -- 2.1.0