summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-29 12:20:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-07 11:16:02 +0300
commitbbe7fedeaff263999f6c105835c23f0c0ad0a81f (patch)
treeec625215f49f2e7caba69745e733dd972e027cf2
parent05394b48d045f5dfd725dfc37565ee8ea354d21f (diff)
downloadhercules-bbe7fedeaff263999f6c105835c23f0c0ad0a81f.tar.gz
hercules-bbe7fedeaff263999f6c105835c23f0c0ad0a81f.tar.bz2
hercules-bbe7fedeaff263999f6c105835c23f0c0ad0a81f.tar.xz
hercules-bbe7fedeaff263999f6c105835c23f0c0ad0a81f.zip
Enable HPMHooking building for login server.
-rw-r--r--src/plugins/HPMHooking.c1
-rw-r--r--src/plugins/Makefile.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/HPMHooking.c b/src/plugins/HPMHooking.c
index 3f3ecc4ec..da92c90b4 100644
--- a/src/plugins/HPMHooking.c
+++ b/src/plugins/HPMHooking.c
@@ -19,6 +19,7 @@
#define HPM_HOOKS_INCLUDE "../plugins/HPMHooking/HPMHooking_login.Hooks.inc"
#define HPM_POINTS_INCLUDE "../plugins/HPMHooking/HPMHooking_login.HookingPoints.inc"
#define HPM_SOURCES_INCLUDE "../plugins/HPMHooking/HPMHooking_login.sources.inc"
+#include "../login/login.h"
#elif defined (HPMHOOKING_CHAR)
#define HPM_SERVER_TYPE SERVER_TYPE_CHAR
#define HPM_CORE_INCLUDE "../plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc"
diff --git a/src/plugins/Makefile.in b/src/plugins/Makefile.in
index 7f94e6b67..5c93edb84 100644
--- a/src/plugins/Makefile.in
+++ b/src/plugins/Makefile.in
@@ -28,7 +28,7 @@ HPMHOOKING = $(addprefix HPMHooking_, login char map)
ALLPLUGINS = $(filter-out HPMHooking, $(basename $(wildcard *.c))) $(HPMHOOKING)
# Plugins that will be built through 'make plugins' or 'make all'
-PLUGINS = sample db2sql HPMHooking_map $(MYPLUGINS)
+PLUGINS = sample db2sql HPMHooking_login HPMHooking_map $(MYPLUGINS)
COMMON_D = ../common
COMMON_H = $(wildcard $(COMMON_D)/*.h)