changeset 986:66f6361fba1b

Fix linux build
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 29 Aug 2014 17:55:28 +0200
parents 1743895b39b8
children b8ae69bcc540
files cinst/mozilla.c common/portpath.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cinst/mozilla.c	Fri Aug 29 17:13:30 2014 +0200
+++ b/cinst/mozilla.c	Fri Aug 29 17:55:28 2014 +0200
@@ -386,7 +386,9 @@
             }
         }
     }
+#ifdef WIN32
   xfree (program_files);
+#endif
   return retval;
 }
 
--- a/common/portpath.c	Fri Aug 29 17:13:30 2014 +0200
+++ b/common/portpath.c	Fri Aug 29 17:55:28 2014 +0200
@@ -16,6 +16,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
+#include <string.h>
 
 char *
 port_dirname(char *path)

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