Include <stddef.h> for ptrdiff_t

This commit is contained in:
Gerhard Rieger 2016-02-06 15:56:11 +01:00
parent 1de74d4ca9
commit d8a5d49c2d
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,9 @@ corrections:
Failing name resolution could lead to SIGSEGV Failing name resolution could lead to SIGSEGV
Thanks to Max for reporting this issue. Thanks to Max for reporting this issue.
Include <stddef.h> for ptrdiff_t
Thanks to Jeroen Roovers for reporting this issue.
testing: testing:
socks4echo.sh and socks4a-echo.sh hung with new bash with read -n socks4echo.sh and socks4a-echo.sh hung with new bash with read -n

View file

@ -5,6 +5,7 @@
#ifndef __sysincludes_h_included #ifndef __sysincludes_h_included
#define __sysincludes_h_included 1 #define __sysincludes_h_included 1
#include <stddef.h> /* ptrdiff_t */
#if HAVE_STDBOOL_H #if HAVE_STDBOOL_H
#include <stdbool.h> /* bool, true, false */ #include <stdbool.h> /* bool, true, false */
#endif #endif