diff common/util.c @ 671:d4766b4922c9

Fix linux build
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 27 Jun 2014 11:01:14 +0200
parents 175370634226
children 4ad764bfb39c
line wrap: on
line diff
--- 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/