[sr-dev] git:master:ed4757c5: dispatcher: undeclared UINT32_MAX on FreeBSD missing header

GitHub noreply at github.com
Wed Oct 25 14:43:05 CEST 2017


Module: kamailio
Branch: master
Commit: ed4757c5886f0fc93d3eeec9f01885b63c6dc9c8
URL: https://github.com/kamailio/kamailio/commit/ed4757c5886f0fc93d3eeec9f01885b63c6dc9c8

Author: Rick <dunst0 at users.noreply.github.com>
Committer: GitHub <noreply at github.com>
Date: 2017-10-25T14:37:42+02:00

dispatcher: undeclared UINT32_MAX on FreeBSD missing header

- on FreeBSD is for UINT32_MAX the <stdint.h> header needed

---

Modified: src/modules/dispatcher/dispatch.c

---

Diff:  https://github.com/kamailio/kamailio/commit/ed4757c5886f0fc93d3eeec9f01885b63c6dc9c8.diff
Patch: https://github.com/kamailio/kamailio/commit/ed4757c5886f0fc93d3eeec9f01885b63c6dc9c8.patch

---

diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index a8ec1fd15b..d2d9d1c806 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <time.h>
 #include <math.h>
 




More information about the sr-dev mailing list