File vsftpd-3.0.0_gnu_source_defines.patch of Package vsftpd.20180

diff -aur vsftpd-3.0.0/sysdeputil.c vsftpd-3.0.0+/sysdeputil.c
--- vsftpd-3.0.0/sysdeputil.c	2010-03-25 23:25:33.000000000 -0400
+++ vsftpd-3.0.0+/sysdeputil.c	2012-04-23 04:39:39.000000000 -0400
@@ -60,7 +60,9 @@
 #define VSF_SYSDEP_HAVE_LIBCAP
 #define VSF_SYSDEP_HAVE_UTMPX
 
+#ifndef __USE_GNU
 #define __USE_GNU
+#endif
 #include <utmpx.h>
 
 /* BEGIN config */
openSUSE Build Service is sponsored by