File: hurd5.patch

package info (click to toggle)
socket%2B%2B 1.12.13-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 736 kB
  • sloc: cpp: 3,988; makefile: 116; sh: 22; ansic: 14
file content (18 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix compilation issue on kFreeBSD and HURD
Author: Mathieu Malaterre <malat@debian.org>
Forwarded: no

Index: socket++-1.12.13/socket++/ftp.h
===================================================================
--- socket++-1.12.13.orig/socket++/ftp.h	2013-12-31 08:36:53.000000000 +0100
+++ socket++-1.12.13/socket++/ftp.h	2013-12-31 08:38:09.338459766 +0100
@@ -14,6 +14,9 @@
 #include <socket++/protocol.h>
 #ifndef WIN32
 #	include <sys/param.h>
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 4096
+#endif
 #else
 #define	MAXPATHLEN MAX_PATH
 #endif // !WIN32