termux-packages/packages/libbsd/nlist.c.patch

16 lines
367 B
Diff
Raw Normal View History

2018-10-16 05:59:57 +02:00
--- ../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