changeset 671:d4766b4922c9

Fix linux build
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 27 Jun 2014 11:01:14 +0200
parents 175370634226
children 376978e9cc61
files cinst/nssstore_win.c common/util.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cinst/nssstore_win.c	Fri Jun 27 10:27:08 2014 +0200
+++ b/cinst/nssstore_win.c	Fri Jun 27 11:01:14 2014 +0200
@@ -179,7 +179,6 @@
       return NULL;
     }
 
-
   /* Obtain the current user sid to prevent it from being returned. */
   current_user = get_process_owner (GetCurrentProcess());
 
--- a/common/util.c	Fri Jun 27 10:27:08 2014 +0200
+++ b/common/util.c	Fri Jun 27 11:01:14 2014 +0200
@@ -19,6 +19,7 @@
 #include <windows.h>
 #endif
 
+#ifdef WIN32
 static PSID
 copy_sid(PSID from)
 {
@@ -67,6 +68,7 @@
       }
     return NULL;
 }
+#endif
 
 bool
 is_elevated()

http://wald.intevation.org/projects/trustbridge/