aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/PlatCocoa.h3
-rw-r--r--cocoa/PlatCocoa.mm3
-rw-r--r--cocoa/ScintillaCocoa.h9
3 files changed, 8 insertions, 7 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h
index dddec85de..caac1d9fb 100644
--- a/cocoa/PlatCocoa.h
+++ b/cocoa/PlatCocoa.h
@@ -7,11 +7,10 @@
#ifndef PLATCOCOA_H
#define PLATCOCOA_H
-#include <assert.h>
-
#include <sys/time.h>
#include <cstdlib>
+#include <cassert>
#include <cstring>
#include <cstdio>
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index dbf78c303..b989857f5 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -12,10 +12,11 @@
* This file is dual licensed under LGPL v2.1 and the Scintilla license (http://www.scintilla.org/License.txt).
*/
-#include <assert.h>
#include <sys/time.h>
+#include <cstddef>
#include <cstdlib>
+#include <cassert>
#include <cstring>
#include <cstdio>
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h
index 2e2bde524..18cd5855f 100644
--- a/cocoa/ScintillaCocoa.h
+++ b/cocoa/ScintillaCocoa.h
@@ -13,10 +13,11 @@
* This file is dual licensed under LGPL v2.1 and the Scintilla license (http://www.scintilla.org/License.txt).
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <time.h>
-#include <ctype.h>
+#include <cstddef>
+#include <cstdlib>
+#include <cctype>
+#include <cstdio>
+#include <ctime>
#include <stdexcept>
#include <string>