summaryrefslogtreecommitdiff
path: root/community/vtk/missingheader.diff
blob: 47956d81dea11de43f85295ac3f2c1e67fc0638f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From be4c4f115793598f6c8937a98bdd1f227d471540 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Tue, 19 Apr 2011 15:25:09 -0400
Subject: [PATCH] MetaIO: Add missing include <stddef.h> for ptrdiff_t

Fixes error "ptrdiff_t was not declared in this scope".

Author: David Doria <daviddoria@gmail.com>
Change-Id: I1e0dee67d26681f4119ac1fd00ecec3d139eb726
---
 Utilities/vtkmetaio/metaUtils.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Utilities/vtkmetaio/metaUtils.cxx b/Utilities/vtkmetaio/metaUtils.cxx
index dcb26ca..27bde1e 100644
--- a/Utilities/vtkmetaio/metaUtils.cxx
+++ b/Utilities/vtkmetaio/metaUtils.cxx
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <ctype.h>
+#include <stddef.h>
 
 #include <sys/stat.h>
 #include <fcntl.h>
-- 
1.7.0