[sr-dev] git:master:d7c0ae49: db_text: include header file for atoi() to avoid clang warnings
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jun 10 14:26:23 CEST 2015
Module: kamailio
Branch: master
Commit: d7c0ae494a5f1a5a8c808a4c45c9bfbbbda7388c
URL: https://github.com/kamailio/kamailio/commit/d7c0ae494a5f1a5a8c808a4c45c9bfbbbda7388c
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-06-10T14:26:08+02:00
db_text: include header file for atoi() to avoid clang warnings
---
Modified: modules/db_text/dbt_raw_util.c
---
Diff: https://github.com/kamailio/kamailio/commit/d7c0ae494a5f1a5a8c808a4c45c9bfbbbda7388c.diff
Patch: https://github.com/kamailio/kamailio/commit/d7c0ae494a5f1a5a8c808a4c45c9bfbbbda7388c.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