summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game-server/autoattack.h1
-rw-r--r--src/game-server/thing.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/game-server/autoattack.h b/src/game-server/autoattack.h
index 2ce5c71d..268f429c 100644
--- a/src/game-server/autoattack.h
+++ b/src/game-server/autoattack.h
@@ -21,6 +21,7 @@
#ifndef AUTOATTACK_H
#define AUTOATTACK_H
+#include <cstddef>
#include <list>
#include <limits>
diff --git a/src/game-server/thing.h b/src/game-server/thing.h
index a5e1bd8f..9409a0b2 100644
--- a/src/game-server/thing.h
+++ b/src/game-server/thing.h
@@ -37,7 +37,7 @@ class MapComposite;
class Thing
{
public:
- Thing(ThingType type, MapComposite *map = NULL)
+ Thing(ThingType type, MapComposite *map = 0)
: mMap(map),
mType(type)
{}