• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/atftp/0003-tftp.h-tftpd.h-fix-musl-compile-missing-include.patch
Peter SeidererPeter Seiderer committed ef33c008e3c16 Apr 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 77e399899d9d7297d23c321811b628febdf0fd92 Mon Sep 17 00:00:00 2001
2
From: Peter Seiderer <ps.report@gmx.net>
3
Date: Thu, 16 Apr 2015 22:43:49 +0200
4
Subject: [PATCH] tftp.h/tftpd.h: fix musl compile (missing include)
5
​
6
Add sys/types.h include for u_char typedef.
7
​
8
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
9
---
10
 tftp.h  | 1 +
11
 tftpd.h | 1 +
12
 2 files changed, 2 insertions(+)
13
​
14
diff --git a/tftp.h b/tftp.h
15
index 12bd6aa..32a3f63 100644
16
--- a/tftp.h
17
+++ b/tftp.h
18
@@ -19,6 +19,7 @@
19
 
20
 #include <sys/time.h>
21
 #include <sys/times.h>
22
+#include <sys/types.h>
23
 #include "tftp_def.h"
24
 #include "config.h"
25
 
26
diff --git a/tftpd.h b/tftpd.h
27
index 945065e..60d3a49 100644
28
--- a/tftpd.h
29
+++ b/tftpd.h
30
@@ -20,6 +20,7 @@
31
 #include <pthread.h>
32
 #include <arpa/tftp.h>
33
 #include <arpa/inet.h>
34
+#include <sys/types.h>
35
 #include "tftp_io.h"
36
 
37
 /*
38
-- 
39
2.1.4
40
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.