summaryrefslogtreecommitdiffstats
path: root/package/mtd/0004-recv_image-do-not-include-error.h.patch
blob: 5c58dcee8310aff20defa53917b8a909a67eed17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From c5837be1cc2422fc16b1fe030548e5a3ab951a54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
Date: Fri, 24 Apr 2015 22:06:31 +0200
Subject: [PATCH 4/4] recv_image: do not include error.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

recv_image does not use anything from it and it is not available with all
C libraries.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
---
 recv_image.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/recv_image.c b/recv_image.c
index 26a8361..0093831 100644
--- a/recv_image.c
+++ b/recv_image.c
@@ -4,7 +4,6 @@
 #define _BSD_SOURCE	/* struct ip_mreq */

 #include <errno.h>
-#include <error.h>
 #include <stdio.h>
 #include <netdb.h>
 #include <stdlib.h>
--
2.3.6
OpenPOWER on IntegriCloud