From f6d7553d8625fa32d1f68260fcd85ce26a670c54 Mon Sep 17 00:00:00 2001 From: Alexandre Bailon <abailon@baylibre.com> Date: Sun, 5 Mar 2017 14:39:32 +0100 Subject: [PATCH] gbridge: Fix potential build issues The gbridge.h header is using element defined in stdlib but it doesn't include it which every include to gbridge.h must be preceded by an include to stdlib.h. Include stdlib.h from gbridge.h. Signed-off-by: Alexandre Bailon <abailon@baylibre.com> --- gbridge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gbridge.h b/gbridge.h index 663ed79..608acbd 100644 --- a/gbridge.h +++ b/gbridge.h @@ -21,6 +21,7 @@ #include <config.h> #include <stdint.h> +#include <stdlib.h> #include <linux/types.h> #include <sys/queue.h> -- GitLab