From 44a550295a959a6c8b61b0e36cf5578b63aec624 Mon Sep 17 00:00:00 2001
From: Ryan Lortie <desrt@desrt.ca>
Date: Sat, 28 Jun 2014 15:34:25 -0400
Subject: [PATCH] creds: define structs even if unsupported

The credentials structures are defined based on basic types with no
special support needed from the OS, so it's possible to define them
even if HAVE_CREDS is not defined.
---
 src/pulsecore/creds.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pulsecore/creds.h b/src/pulsecore/creds.h
index f09b35e..b508ba0 100644
--- a/src/pulsecore/creds.h
+++ b/src/pulsecore/creds.h
@@ -39,6 +39,9 @@ typedef struct pa_ancil pa_ancil;
 #if defined(SCM_CREDENTIALS)
 
 #define HAVE_CREDS 1
+#else
+#undef HAVE_CREDS
+#endif
 
 struct pa_creds {
     gid_t gid;
@@ -54,8 +57,5 @@ struct pa_ancil {
     int fds[MAX_ANCIL_FDS];
 };
 
-#else
-#undef HAVE_CREDS
-#endif
 
 #endif
-- 
1.9.0