diff --git a/modules/ldap/ld_session.h b/modules/ldap/ld_session.h index 03a4ea5..de7bc0b 100644 --- a/modules/ldap/ld_session.h +++ b/modules/ldap/ld_session.h @@ -33,6 +33,7 @@ #ifndef LD_SESSION_H #define LD_SESSION_H +#include #include #include "iniparser.h" diff --git a/modules/seas/event_dispatcher.c b/modules/seas/event_dispatcher.c index d10cffe..8e1a56a 100644 --- a/modules/seas/event_dispatcher.c +++ b/modules/seas/event_dispatcher.c @@ -25,7 +25,7 @@ #include /*strcmp,memset*/ #include /*errno*/ #include /*close(),read(),pipe,fork,pid_t*/ -#include /*poll*/ +#include /*poll*/ #include /*signal*/ #include /*time*/ #include /*memcmp*/ diff --git a/modules/tls/tls_server.c b/modules/tls/tls_server.c index cfd09c4..0a27433 100644 --- a/modules/tls/tls_server.c +++ b/modules/tls/tls_server.c @@ -33,7 +33,7 @@ */ -#include +#include #include #include #include "../../dprint.h" diff --git a/modules/xhttp_pi/xhttp_pi_fnc.c b/modules/xhttp_pi/xhttp_pi_fnc.c index 5602429..2f8e1f7 100644 --- a/modules/xhttp_pi/xhttp_pi_fnc.c +++ b/modules/xhttp_pi/xhttp_pi_fnc.c @@ -885,7 +885,7 @@ int ph_getColVals(ph_mod_t *module, ph_cmd_t *cmd, if(vals==NULL||ids==NULL) {LM_ERR("oom\n"); return -1;} col_vals = vals; col_ids = ids; vals = &col_vals[size]; ids = &col_ids[size]; - memset(vals, 0, sizeof(str*)); memset(ids, 0, sizeof(str*)); + memset(vals, 0, sizeof(str)); memset(ids, 0, sizeof(str)); /* Retrieve the node attribute */ attr.s = ph_xmlNodeGetAttrContentByName(node, XHTTP_PI_XML_ID_ATTR); diff --git a/tsend.c b/tsend.c index 3a18502..99f0c21 100644 --- a/tsend.c +++ b/tsend.c @@ -43,7 +43,7 @@ #include #include -#include +#include #include #include diff --git a/utils/sercmd/sercmd.c b/utils/sercmd/sercmd.c index fb9c0a3..717a78d 100644 --- a/utils/sercmd/sercmd.c +++ b/utils/sercmd/sercmd.c @@ -49,6 +49,7 @@ #include /* gethostbyname */ #include #include /* time */ +#include #ifdef USE_READLINE #include