aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp/0001-tftp-Include-missing-fcntl.h.patch
blob: 78936907f6e911c435b740d327489d2999fc64fa (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
From fa57e161fc953264a75d50a787cb83983e60acc7 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 30 Aug 2017 18:30:02 -0700
Subject: [PATCH] tftp: Include missing fcntl.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending

 tftp/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tftp/main.c b/tftp/main.c
index 8c54843..5c9b698 100644
--- a/tftp/main.c
+++ b/tftp/main.c
@@ -63,6 +63,7 @@ char main_rcsid[] =
 #include <ctype.h>
 #include <netdb.h>
 #include <unistd.h>
+#include <fcntl.h>
 
 #include "tftpsubs.h"  /* for mysignal() */
 
-- 
2.14.1