X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fglocalvfs.c;h=b0bae9cf768c12715953b4a8698d04f88be7c782;hb=9da85c7262325478e8730ae9f3e76bd0528a9a8c;hp=cd535e38a260759b6b9c58fc00d0be434bd6649a;hpb=69801f8dc84c0c9403df6802eccc5d03328cd3ae;p=platform%2Fupstream%2Fglib.git
diff --git a/gio/glocalvfs.c b/gio/glocalvfs.c
index cd535e3..b0bae9c 100644
--- a/gio/glocalvfs.c
+++ b/gio/glocalvfs.c
@@ -13,9 +13,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see .
*
* Author: Alexander Larsson
*/
@@ -28,12 +26,11 @@
#include "gvfs.h"
#include
#include
-#ifdef HAVE_PWD_H
+#ifdef G_OS_UNIX
#include
#endif
#include
-#include "gioalias.h"
struct _GLocalVfs
{
@@ -156,7 +153,7 @@ g_local_vfs_parse_name (GVfs *vfs,
user_prefix = g_strdup (g_get_home_dir ());
else
{
-#ifdef HAVE_PWD_H
+#ifdef G_OS_UNIX
struct passwd *passwd_file_entry;
char *user_name;