From: Adam Tkac Date: Mon, 21 Feb 2011 14:10:31 +0000 (+0000) Subject: [Bugfix] Visual Studio needs stddef.h include to get size_t definition. X-Git-Tag: v1.0.90~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=abda06acb910a82c31c341a82b29db1864abbb9d;p=tigervnc.git [Bugfix] Visual Studio needs stddef.h include to get size_t definition. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4305 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/config.h.cmake.in b/config.h.cmake.in index 6b1ca3d3..fef36495 100644 --- a/config.h.cmake.in +++ b/config.h.cmake.in @@ -7,5 +7,6 @@ /* MS Visual Studio 2008 and newer doesn't know ssize_t */ #if defined(HAVE_GNUTLS) && defined(WIN32) && !defined(__MINGW32__) +#include typedef size_t ssize_t; #endif