summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-desc_c
blob: 9cfb5f50564b51b4424932ff0f810a6ca85f858c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- strace-4.8.orig/desc.c	2013-05-02 00:39:10.000000000 +0200
+++ strace-4.8/desc.c	2014-02-25 15:16:36.000000000 +0100
@@ -223,7 +223,7 @@ static const struct xlat perf_event_open
 	{ 0,				NULL			},
 };
 
-#if _LFS64_LARGEFILE
+#if defined(_LFS64_LARGEFILE) && defined(__GLIBC__) || defined(__UCLIBC__)
 /* fcntl/lockf */
 static void
 printflock64(struct tcb *tcp, long addr, int getlk)