summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-05-20 12:19:05 +0200
committerSimon Josefsson <simon@josefsson.org>2009-05-20 12:19:05 +0200
commit008ae302736f6e1b8e70e87b0cfe1ae86703aa50 (patch)
tree45bac1c22076c260cff75c5f6c0dbe05480d8bd2
parent6f285a47724bd999011579f9f33168745ec689e1 (diff)
downloadgnutls-008ae302736f6e1b8e70e87b0cfe1ae86703aa50.tar.gz
Update gnulib files.
-rw-r--r--gl/getdelim.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gl/getdelim.c b/gl/getdelim.c
index 49edf7725c..b74e5b5350 100644
--- a/gl/getdelim.c
+++ b/gl/getdelim.c
@@ -1,6 +1,6 @@
/* getdelim.c --- Implementation of replacement getdelim function.
- Copyright (C) 1994, 1996, 1997, 1998, 2001, 2003, 2005, 2006, 2007, 2008 Free
- Software Foundation, Inc.
+ Copyright (C) 1994, 1996, 1997, 1998, 2001, 2003, 2005, 2006, 2007,
+ 2008, 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
@@ -24,12 +24,10 @@
#include <stdio.h>
#include <limits.h>
+#include <stdint.h>
#include <stdlib.h>
#include <errno.h>
-#ifndef SIZE_MAX
-# define SIZE_MAX ((size_t) -1)
-#endif
#ifndef SSIZE_MAX
# define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
#endif