1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-14 00:46:38 +00:00
termux-packages/packages/libbsd/nlist.c.patch
2018-11-18 00:51:17 +01:00

16 lines
367 B
Diff

--- ../cache/libbsd-0.9.1/src/nlist.c 2018-05-14 22:54:12.000000000 +0000
+++ ./src/nlist.c 2018-10-16 03:17:23.141271836 +0000
@@ -39,8 +39,11 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#if !defined(__ANDROID__)
#include <nlist.h>
-
+#else
+#include "../include/bsd/nlist.h"
+#endif
#include "local-elf.h"
#define SIZE_T_MAX 0xffffffffU