gluon-packages/net/batman-adv-legacy/patches/0004-batctl-Include-sys-typ...

28 lines
873 B
Diff

From b6d87da52915aec1f012e9f048dfedb3fc61a824 Mon Sep 17 00:00:00 2001
Message-Id: <b6d87da52915aec1f012e9f048dfedb3fc61a824.1435784837.git.mschiffer@universe-factory.net>
In-Reply-To: <704e64165f8d37c42fd13652cf8b1c0f56f37cd6.1435784837.git.mschiffer@universe-factory.net>
References: <704e64165f8d37c42fd13652cf8b1c0f56f37cd6.1435784837.git.mschiffer@universe-factory.net>
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Wed, 1 Jul 2015 23:06:48 +0200
Subject: [PATCH 4/4] batctl: Include <sys/types.h> for caddr_t definition
---
ioctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ioctl.c b/ioctl.c
index 26bb482..393521c 100644
--- a/ioctl.c
+++ b/ioctl.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <linux/if.h>
--
2.4.5