From abda06acb910a82c31c341a82b29db1864abbb9d Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Mon, 21 Feb 2011 14:10:31 +0000 Subject: [PATCH] [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 --- config.h.cmake.in | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5