[sr-dev] git:4.3:f2dcd03c: db_text: include header file for atoi() to avoid clang warnings
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jun 10 14:49:07 CEST 2015
Module: kamailio
Branch: 4.3
Commit: f2dcd03c33721e92f6cd4ba7a035be2ea5bbd37f
URL: https://github.com/kamailio/kamailio/commit/f2dcd03c33721e92f6cd4ba7a035be2ea5bbd37f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-06-10T14:27:09+02:00
db_text: include header file for atoi() to avoid clang warnings
(cherry picked from commit d7c0ae494a5f1a5a8c808a4c45c9bfbbbda7388c)
---
Modified: modules/db_text/dbt_raw_util.c
---
Diff: https://github.com/kamailio/kamailio/commit/f2dcd03c33721e92f6cd4ba7a035be2ea5bbd37f.diff
Patch: https://github.com/kamailio/kamailio/commit/f2dcd03c33721e92f6cd4ba7a035be2ea5bbd37f.patch
---
diff --git a/modules/db_text/dbt_raw_util.c b/modules/db_text/dbt_raw_util.c
index 1efe9bd..aba55b8 100644
--- a/modules/db_text/dbt_raw_util.c
+++ b/modules/db_text/dbt_raw_util.c
@@ -21,6 +21,7 @@
*
*/
+#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
#include <regex.h>
More information about the sr-dev
mailing list