]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Visual Studio needs stddef.h include to get size_t definition.
authorAdam Tkac <atkac@redhat.com>
Mon, 21 Feb 2011 14:10:31 +0000 (14:10 +0000)
committerAdam Tkac <atkac@redhat.com>
Mon, 21 Feb 2011 14:10:31 +0000 (14:10 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4305 3789f03b-4d11-0410-bbf8-ca57d06f2519

config.h.cmake.in

index 6b1ca3d33fe7bf4521610efebc203de52cf60a11..fef36495970f5385e1bcdda09b643cbf7e907270 100644 (file)
@@ -7,5 +7,6 @@
 
 /* MS Visual Studio 2008 and newer doesn't know ssize_t */
 #if defined(HAVE_GNUTLS) && defined(WIN32) && !defined(__MINGW32__)
+#include <stddef.h>
 typedef size_t ssize_t;
 #endif