aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-06 20:59:23 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-06 20:59:23 +1000
commit51b01b551ade992ede6f297a3d1c5f27c823c137 (patch)
tree5934e83180057b495c3c25d4582a2f613a1b1108 /src
parent016e0f6420023c8f9e8e1b84b987b9c90ba19bde (diff)
downloadscintilla-mirror-51b01b551ade992ede6f297a3d1c5f27c823c137.tar.gz
Backport: Ensuring ptrdiff_t is available by including <cstddef>.
Backport of changeset 6921:f9b81cb21ed1.
Diffstat (limited to 'src')
-rw-r--r--src/AutoComplete.cxx1
-rw-r--r--src/CallTip.cxx1
-rw-r--r--src/Selection.cxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx
index fc4f947a5..886ace4af 100644
--- a/src/AutoComplete.cxx
+++ b/src/AutoComplete.cxx
@@ -5,6 +5,7 @@
// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
+#include <cstddef>
#include <cstdlib>
#include <cassert>
#include <cstring>
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index 21cf6e3d3..378498045 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -5,6 +5,7 @@
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
+#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <cstdio>
diff --git a/src/Selection.cxx b/src/Selection.cxx
index dc4d179d9..92a34f7da 100644
--- a/src/Selection.cxx
+++ b/src/Selection.cxx
@@ -5,6 +5,7 @@
// Copyright 2009 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
+#include <cstddef>
#include <cstdlib>
#include <stdexcept>