Blame view

buildroot/buildroot-2016.08.1/package/parted/0004-fix-includes-for-musl.patch 510 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  Include <fcntl.h> to get loff_t definition
  
  Patch borrowed from Alpine Linux at
  http://git.alpinelinux.org/cgit/aports/plain/main/parted/fix-includes.patch. Solves
  build with musl.
  
  Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  
  --- parted-3.1.orig/libparted/fs/xfs/platform_defs.h
  +++ parted-3.1/libparted/fs/xfs/platform_defs.h
  @@ -35,6 +35,7 @@
   #define __XFS_PLATFORM_DEFS_H__
   
   #include <stdio.h>
  +#include <fcntl.h>
   #include <stdarg.h>
   #include <assert.h>
   #include <endian.h>