# HG changeset patch # User Simon Josefsson # Date 1231947682 -3600 # Node ID 39ea4972093c5b795d0c55f603b91ddf3ca8d1a4 # Parent 65a347a25104145a025d0ba61380428c89cd4098 sys_stat: Include sys/types.h for nlink_t. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-14 Simon Josefsson + + * lib/sys_stat.in.h: Include sys/types.h for nlink_t on systems + were sys/stat.h does not define it. + 2009-01-14 Jim Meyering many *.m4 files: improve m4 quoting diff --git a/lib/sys_stat.in.h b/lib/sys_stat.in.h --- a/lib/sys_stat.in.h +++ b/lib/sys_stat.in.h @@ -1,5 +1,5 @@ /* Provide a more complete sys/stat header file. - Copyright (C) 2005-2008 Free Software Foundation, Inc. + Copyright (C) 2005-2009 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,6 +35,9 @@ #ifndef _GL_SYS_STAT_H +/* Get nlink_t. */ +#include + /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@