]> git.wh0rd.org - dump.git/blobdiff - compat/include/compatlfs.h
Relicensed dump/restore under the revised BSD license, as per ftp://ftp.cs.berkeley...
[dump.git] / compat / include / compatlfs.h
index 8cd0f964a1a8509bcc17905ed6ea1ec4bf27bef0..7b95b873c57760fe1eec5ef6b4f13c5d39c0915c 100644 (file)
@@ -3,7 +3,7 @@
  *     dump and restore backup suit
  *     Stelian Pop <stelian@popies.net> - AlcĂ´ve <www.alcove.com>, 2000-2002
  *
- *     $Id: compatlfs.h,v 1.2 2002/01/16 09:32:14 stelian Exp $
+ *     $Id: compatlfs.h,v 1.4 2003/03/30 15:40:34 stelian Exp $
  */
 
 /*-
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *     This product includes software developed by the University of
- *     California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
@@ -52,6 +48,7 @@
 #define STAT stat64
 #define LSTAT lstat64
 #define FTRUNCATE ftruncate64
+#define OFF_T __off64_t
 
 #else
 
@@ -60,6 +57,7 @@
 #define STAT stat
 #define LSTAT lstat
 #define FTRUNCATE ftruncate
+#define OFF_T off_t
 
 #endif /* USE_LFS */