summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 9568750c2..abe568011 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -11,8 +11,8 @@
* ---------------------------------------------------
*/
-#ifndef __INSPIRCD_H__
-#define __INSPIRCD_H__
+#ifndef INSPIRCD_H
+#define INSPIRCD_H
#define _FILE_OFFSET_BITS 64
#ifndef _LARGEFILE_SOURCE
@@ -43,6 +43,7 @@
#include <cstring>
#include <climits>
#include <cstdio>
+#include <unistd.h>
#include <sstream>
#include <string>