[glib/wip/smcv/gdbus-server-auth-test] gdbus-server-auth test: Include gcredentialsprivate.h



commit 5b6e83e18fc586edbdd7106c1356dc02bb8abd70
Author: Simon McVittie <smcv collabora com>
Date:   Mon Nov 4 10:21:51 2019 +0000

    gdbus-server-auth test: Include gcredentialsprivate.h
    
    Otherwise we'll never test the EXTERNAL-only mode, because that relies
    on testing the private macros
    G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED and
    G_CREDENTIALS_SOCKET_GET_CREDENTIALS_SUPPORTED.
    
    Fixes: 9f962ebe "Add a test for GDBusServer authentication"
    Signed-off-by: Simon McVittie <smcv collabora com>

 gio/tests/gdbus-server-auth.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gio/tests/gdbus-server-auth.c b/gio/tests/gdbus-server-auth.c
index 160c18b03..795f07654 100644
--- a/gio/tests/gdbus-server-auth.c
+++ b/gio/tests/gdbus-server-auth.c
@@ -22,6 +22,8 @@
 #include <glib/gstdio.h>
 #include <gio/gio.h>
 
+#include <gio/gcredentialsprivate.h>
+
 #ifdef HAVE_DBUS1
 #include <dbus/dbus.h>
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]