* lib/strftime.h: Include <stddef.h> --- ChangeLog | 3 +++ lib/strftime.h | 1 + 2 files changed, 4 insertions(+)
diff --git a/ChangeLog b/ChangeLog index f4fbb6f1fa..19960aa0fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-11-01 Paul Eggert <[email protected]> + nstrftime: don’t assume <time.h> defines ptrdiff_t + * lib/strftime.h: Include <stddef.h> + nstrftime: do not preserve errno on success * NEWS: Mention this, and coalesce recent changes for the benefit of future readers. diff --git a/lib/strftime.h b/lib/strftime.h index e444a63baa..52385dce0a 100644 --- a/lib/strftime.h +++ b/lib/strftime.h @@ -15,6 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ +#include <stddef.h> #include <time.h> #ifdef __cplusplus -- 2.51.0
