aboutsummaryrefslogtreecommitdiffhomepage
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
commit7e38164a212a73b8c3eabb351a40ba49807ed5f9 (patch)
tree4b285b312abefa82476b527fd1b1ff9cade225f0
parent3d306c9e78228fc77fcd7e7a9f7b4f5415875681 (diff)
downloadscintilla-mirror-7e38164a212a73b8c3eabb351a40ba49807ed5f9.tar.gz
Ensuring ptrdiff_t is available by including <cstddef>.
-rw-r--r--src/AutoComplete.cxx1
-rw-r--r--src/CallTip.cxx1
-rw-r--r--src/RESearch.cxx1
-rw-r--r--src/Selection.cxx1
4 files changed, 4 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/RESearch.cxx b/src/RESearch.cxx
index b590e9d71..d29549ac2 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -200,6 +200,7 @@
* matches: foo-foo fo-fo fob-fob foobar-foobar ...
*/
+#include <cstddef>
#include <cstdlib>
#include <stdexcept>
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>