From: <ta...@us...> - 2006-09-27 02:33:05
|
Revision: 3185 http://svn.sourceforge.net/gfarm/?rev=3185&view=rev Author: tatebe Date: 2006-09-26 19:32:56 -0700 (Tue, 26 Sep 2006) Log Message: ----------- merge the following change by soda-san in AIST cvs repository: fix portability problem to FreeBSD 4.11 Modified Paths: -------------- trunk/gfarm/lib/libgfarm/gfarm/gfs_client_apply.c trunk/gfarm/lib/libgfarm/gfarm/glob.c trunk/gfarm/lib/libgfarm/gfutil/hash.c trunk/gfarm/lib/libgfarm/gfutil/logutil.c Modified: trunk/gfarm/lib/libgfarm/gfarm/gfs_client_apply.c =================================================================== --- trunk/gfarm/lib/libgfarm/gfarm/gfs_client_apply.c 2006-09-27 02:21:27 UTC (rev 3184) +++ trunk/gfarm/lib/libgfarm/gfarm/gfs_client_apply.c 2006-09-27 02:32:56 UTC (rev 3185) @@ -1,3 +1,4 @@ +#include <sys/types.h> #include <sys/socket.h> #include <sys/wait.h> #include <errno.h> Modified: trunk/gfarm/lib/libgfarm/gfarm/glob.c =================================================================== --- trunk/gfarm/lib/libgfarm/gfarm/glob.c 2006-09-27 02:21:27 UTC (rev 3184) +++ trunk/gfarm/lib/libgfarm/gfarm/glob.c 2006-09-27 02:32:56 UTC (rev 3185) @@ -1,6 +1,7 @@ #include <string.h> #include <stdlib.h> #include <limits.h> +#include <unistd.h> #include <gfarm/gfarm.h> #include "gfutil.h" Modified: trunk/gfarm/lib/libgfarm/gfutil/hash.c =================================================================== --- trunk/gfarm/lib/libgfarm/gfutil/hash.c 2006-09-27 02:21:27 UTC (rev 3184) +++ trunk/gfarm/lib/libgfarm/gfutil/hash.c 2006-09-27 02:32:56 UTC (rev 3185) @@ -3,6 +3,7 @@ #include <string.h> #include <ctype.h> #include <errno.h> +#include <unistd.h> #include "gfutil.h" #include "hash.h" Modified: trunk/gfarm/lib/libgfarm/gfutil/logutil.c =================================================================== --- trunk/gfarm/lib/libgfarm/gfutil/logutil.c 2006-09-27 02:21:27 UTC (rev 3184) +++ trunk/gfarm/lib/libgfarm/gfutil/logutil.c 2006-09-27 02:32:56 UTC (rev 3185) @@ -4,6 +4,7 @@ #include <errno.h> #include <syslog.h> #include <string.h> +#include <unistd.h> #include <gfarm/gfarm_misc.h> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |