mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Clean up includes
All the headers are now self-contained (g++ Header.h -o /dev/null). Some system headers where moved to the .cpp they are actually needed in, some of our own headers are includes less. (Especially MD5.h) Headers are sorted alphabetically while in e.g. FileUtils.cpp FileUtils.h is the first file included. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@915 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
12
Modules.cpp
12
Modules.cpp
@@ -8,13 +8,15 @@
|
||||
|
||||
#ifdef _MODULES
|
||||
|
||||
#include "main.h"
|
||||
#include "Modules.h"
|
||||
#include "znc.h"
|
||||
#include "Utils.h"
|
||||
#include "User.h"
|
||||
#include "Nick.h"
|
||||
#include "Chan.h"
|
||||
#include "znc.h"
|
||||
#include <dlfcn.h>
|
||||
|
||||
#ifndef RTLD_LOCAL
|
||||
# define RTLD_LOCAL 0
|
||||
# warning "your crap box doesnt define RTLD_LOCAL !?"
|
||||
#endif
|
||||
|
||||
#define MODUNLOADCHK(func) \
|
||||
for (unsigned int a = 0; a < size(); a++) { \
|
||||
|
||||
Reference in New Issue
Block a user