2010-02-07 Yves Blusseau <blusseau@zetam.org>

* gnulib/getdelim.c: add missing header (type ssize_t must be defined).
This commit is contained in:
Yves Blusseau 2010-02-07 16:02:51 +01:00
parent 74e4934e1c
commit b255e9cfb3
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2010-02-07 Yves Blusseau <blusseau@zetam.org>
* gnulib/getdelim.c: add missing header (type ssize_t must be defined).
2010-02-07 Vladimir Serbinenko <phcoder@gmail.com> 2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
Fix warnings in grub-emu when compiling with maximum warning options. Fix warnings in grub-emu when compiling with maximum warning options.

View file

@ -27,6 +27,7 @@
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#include <unistd.h>
#ifndef SSIZE_MAX #ifndef SSIZE_MAX
# define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))