OSDN Git Service

obexd/MAP: Fix missing include
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 4 Oct 2013 09:05:34 +0000 (11:05 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 4 Oct 2013 11:10:33 +0000 (14:10 +0300)
This fix following build error:

  CC     obexd/client/obexd-map.o
obexd/client/map.c: In function ‘msg_element’:
obexd/client/map.c:1113:2: error: implicit declaration of function ‘strtoull’ [-Werror=implicit-function-declaration]

obexd/client/map.c

index fe15bab..801d715 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdio.h>
 #include <stdbool.h>
 #include <inttypes.h>
+#include <stdlib.h>
 #include <glib.h>
 #include <gdbus/gdbus.h>
 #include <gobex/gobex-apparam.h>