summaryrefslogtreecommitdiff
path: root/net-misc/wol/files/wol-0.7.1-musl.patch
blob: c7c0dc6028cacdbc4cfc1957b04e7bbe2db11ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/lib/getline.h
+++ b/lib/getline.h
@@ -27,6 +27,7 @@
 #  endif
 # endif
 
+# if defined (__GLIBC__)
 # if __GLIBC__ < 2
 int
 getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
@@ -34,5 +35,6 @@
 int
 getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
 # endif
+# endif
 
 #endif /* not GETLINE_H_ */