File: forward-declarations.patch

package info (click to toggle)
wput 0.6.2%2Bgit20130413-15
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,676 kB
  • sloc: ansic: 6,854; sh: 3,460; makefile: 72; sed: 16
file content (15 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Ensure strdup() is declared
Author: Stephen Kitt <skitt@debian.org>
Bug-Debian: https://bugs.debian.org/1066585

--- a/src/ftp-ls.c
+++ b/src/ftp-ls.c
@@ -29,7 +29,7 @@
 so, delete this exception statement from your version.  */
 
 #include "config.h"
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 500
 #include <time.h>
 #include <stdio.h>
 #include <stdlib.h>