1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/games/lincity/files/patch-ac
2002-11-19 04:53:54 +00:00

19 lines
353 B
Plaintext

--- main.cxx.orig Fri Feb 26 02:17:54 1999
+++ main.cxx Tue Nov 19 05:27:27 2002
@@ -4,6 +4,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#if !defined (WIN32)
#include <strings.h>
#endif
@@ -779,7 +780,6 @@
DIR *dp;
if ((dp = opendir (dir)) == NULL)
{
- closedir (dp);
return 0;
}
closedir (dp);