void-packages/srcpkgs/hxtools/patches/loff_t.patch
nexolight f1cc226668 New package: hxtools
Closes: #4379 [via git-merge-pr]
2016-07-22 09:44:28 -04:00

12 lines
218 B
Diff

--- sdevel/cctypeinfo.c
+++ sdevel/cctypeinfo.c
@@ -18,6 +18,8 @@
#else
# include <netinet/in.h>
# define SIZET_FMT "z"
-# define HAVE_LOFF_T 1
+# if defined(_GNU_SOURCE)
+# define HAVE_LOFF_T 1
+# endif
#endif