From 6bd02aa5046b606171a680e6f8aefba31b744af1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 2 Nov 2004 11:42:35 +0000 Subject: r3478: split out some more pieces of includes.h (This used to be commit 8e9212ecfc61c509f686363d8ec412ce54bc1c8d) --- source4/include/system/filesys.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source4/include/system/filesys.h') diff --git a/source4/include/system/filesys.h b/source4/include/system/filesys.h index 07465c1c56..60d2910ba0 100644 --- a/source4/include/system/filesys.h +++ b/source4/include/system/filesys.h @@ -180,3 +180,15 @@ int rename(const char *zfrom, const char *zto); #define UINT16_MAX 65535 #endif +#ifndef HAVE_FTRUNCATE +int ftruncate(int f,long l); +#endif + +#ifndef MAXPATHLEN +#define MAXPATHLEN 256 +#endif + +#ifndef SEEK_SET +#define SEEK_SET 0 +#endif + -- cgit