From 9c975b1969d7103da881b81e29381c7586c3f968 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 14 Jan 2009 16:41:22 +0100 Subject: [PATCH] sys_stat: Include sys/types.h for nlink_t. --- ChangeLog | 5 +++++ lib/sys_stat.in.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4e050e9ed0..5178257ff3 100644 --- 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 index a5268339f5..da965d0270 100644 --- 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@ -- 2.30.2