[PATCH 1 of 3] Fix linux build

Wald Commits scm-commit at wald.intevation.org
Fri Aug 29 18:41:52 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1409327728 -7200
# Node ID 66f6361fba1be14ff8128a291bbeb288cbd2859e
# Parent  1743895b39b820c07419f9ded32708f04551352b
Fix linux build

diff -r 1743895b39b8 -r 66f6361fba1b cinst/mozilla.c
--- 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;
 }
 
diff -r 1743895b39b8 -r 66f6361fba1b common/portpath.c
--- 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)


More information about the Trustbridge-commits mailing list