mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 16:23:13 +02:00
Include dirent.h by default.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#else
|
||||
#include <sys/resource.h>
|
||||
#include <utime.h>
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
|
||||
+1
-3
@@ -4,9 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "unrealircd.h"
|
||||
#ifndef _WIN32
|
||||
#include <dirent.h>
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
extern void StartUnrealAgain(void);
|
||||
#endif
|
||||
#include "version.h"
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include "unrealircd.h"
|
||||
#ifndef _WIN32
|
||||
#include <dirent.h>
|
||||
|
||||
#define MODULEMANAGER_CONNECT_TIMEOUT 7
|
||||
#define MODULEMANAGER_READ_TIMEOUT 20
|
||||
|
||||
@@ -30,9 +30,6 @@
|
||||
#else
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
#ifndef _WIN32
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
#ifndef RTLD_NOW
|
||||
#define RTLD_NOW RTLD_LAZY
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user