aboutsummaryrefslogtreecommitdiff
path: root/sftp_server
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2005-08-31 01:39:30 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2005-08-31 01:39:30 +0000
commitc83b993af9779967994c1fe1d26536026cdee3af (patch)
treedcf4bf26ee6dd3d73ef556722a7fc90df3f2696b /sftp_server
parent9a4a7da811d13d57ea2b01436092d14ae3423d9c (diff)
downloadlibssh-c83b993af9779967994c1fe1d26536026cdee3af.tar.gz
libssh-c83b993af9779967994c1fe1d26536026cdee3af.tar.xz
libssh-c83b993af9779967994c1fe1d26536026cdee3af.zip
PATH_MAX patch
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@33 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'sftp_server')
-rw-r--r--sftp_server/protocol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sftp_server/protocol.c b/sftp_server/protocol.c
index f69795c9..31eaf803 100644
--- a/sftp_server/protocol.c
+++ b/sftp_server/protocol.c
@@ -29,8 +29,10 @@ MA 02111-1307, USA. */
#include <netdb.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/param.h>
#include <fcntl.h>
#include <stdio.h>
+#include <stdlib.h>
#include "server.h"
#define TYPE_DIR 1