diff options
author | Adam <Adam@anope.org> | 2013-04-16 01:58:29 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-04-16 01:58:29 -0500 |
commit | 781defb7076ddfddf723ca08cd0a518b6657b64f (patch) | |
tree | 911049f9e1bcf6a32e76c9b8800bf99f56edce02 | |
parent | 16c124d34e43282da6c552739211f8d8aca04791 (diff) |
Move extras header files out of extras so when users copy modules out they dont need the headers too
-rw-r--r-- | modules/CMakeLists.txt | 1 | ||||
-rw-r--r-- | modules/commands/cs_fantasy_stats.cpp | 2 | ||||
-rw-r--r-- | modules/commands/cs_fantasy_top.cpp | 2 | ||||
-rw-r--r-- | modules/database/db_sql.cpp | 2 | ||||
-rw-r--r-- | modules/database/db_sql_live.cpp | 2 | ||||
-rw-r--r-- | modules/httpd.h (renamed from modules/extra/httpd.h) | 0 | ||||
-rw-r--r-- | modules/ldap.h (renamed from modules/extra/ldap.h) | 0 | ||||
-rw-r--r-- | modules/sql.h (renamed from modules/extra/sql.h) | 0 | ||||
-rw-r--r-- | modules/ssl.h (renamed from modules/extra/ssl.h) | 0 | ||||
-rw-r--r-- | modules/xmlrpc.h (renamed from modules/extra/xmlrpc.h) | 0 |
10 files changed, 5 insertions, 4 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index bce14a6ff..928466e41 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -159,5 +159,6 @@ function(build_subdir) endif(HAS_FUNCTION) endfunction(build_subdir) +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) build_modules(${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/modules/commands/cs_fantasy_stats.cpp b/modules/commands/cs_fantasy_stats.cpp index b1b878c63..df24710a0 100644 --- a/modules/commands/cs_fantasy_stats.cpp +++ b/modules/commands/cs_fantasy_stats.cpp @@ -12,7 +12,7 @@ /*************************************************************************/ #include "module.h" -#include "../extra/sql.h" +#include "sql.h" class MySQLInterface : public SQL::Interface { diff --git a/modules/commands/cs_fantasy_top.cpp b/modules/commands/cs_fantasy_top.cpp index 2f445028b..9baceeda3 100644 --- a/modules/commands/cs_fantasy_top.cpp +++ b/modules/commands/cs_fantasy_top.cpp @@ -12,7 +12,7 @@ /*************************************************************************/ #include "module.h" -#include "../extra/sql.h" +#include "sql.h" class MySQLInterface : public SQL::Interface { diff --git a/modules/database/db_sql.cpp b/modules/database/db_sql.cpp index 4025fec69..894037026 100644 --- a/modules/database/db_sql.cpp +++ b/modules/database/db_sql.cpp @@ -9,7 +9,7 @@ */ #include "module.h" -#include "../extra/sql.h" +#include "sql.h" using namespace SQL; diff --git a/modules/database/db_sql_live.cpp b/modules/database/db_sql_live.cpp index a26b08cf7..239c543c2 100644 --- a/modules/database/db_sql_live.cpp +++ b/modules/database/db_sql_live.cpp @@ -1,5 +1,5 @@ #include "module.h" -#include "../extra/sql.h" +#include "sql.h" #include "../commands/os_session.h" using namespace SQL; diff --git a/modules/extra/httpd.h b/modules/httpd.h index 6127a51e0..6127a51e0 100644 --- a/modules/extra/httpd.h +++ b/modules/httpd.h diff --git a/modules/extra/ldap.h b/modules/ldap.h index 65be27687..65be27687 100644 --- a/modules/extra/ldap.h +++ b/modules/ldap.h diff --git a/modules/extra/sql.h b/modules/sql.h index 1c8fdd3aa..1c8fdd3aa 100644 --- a/modules/extra/sql.h +++ b/modules/sql.h diff --git a/modules/extra/ssl.h b/modules/ssl.h index 6eb97582c..6eb97582c 100644 --- a/modules/extra/ssl.h +++ b/modules/ssl.h diff --git a/modules/extra/xmlrpc.h b/modules/xmlrpc.h index d5a5ea4a7..d5a5ea4a7 100644 --- a/modules/extra/xmlrpc.h +++ b/modules/xmlrpc.h |