wol: Fix 64-bit build
This commit is contained in:
parent
ac398bf4e0
commit
4348c52623
24
packages/wol/lib-getline.h.patch
Normal file
24
packages/wol/lib-getline.h.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -u -r ../wol-0.7.1/lib/getline.h ./lib/getline.h
|
||||
--- ../wol-0.7.1/lib/getline.h 2002-03-11 12:55:36.000000000 -0500
|
||||
+++ ./lib/getline.h 2016-02-05 16:14:45.530639085 -0500
|
||||
@@ -19,20 +19,4 @@
|
||||
|
||||
# include <stdio.h>
|
||||
|
||||
-# ifndef PARAMS
|
||||
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
|
||||
-# define PARAMS(Args) Args
|
||||
-# else
|
||||
-# define PARAMS(Args) ()
|
||||
-# endif
|
||||
-# endif
|
||||
-
|
||||
-# if __GLIBC__ < 2
|
||||
-int
|
||||
-getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
|
||||
-
|
||||
-int
|
||||
-getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
|
||||
-# endif
|
||||
-
|
||||
#endif /* not GETLINE_H_ */
|
Loading…
x
Reference in New Issue
Block a user