aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llfile.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:11 -0500
committerJacek Antonelli2008-08-15 23:45:11 -0500
commit215f423cbe18fe9ca14a26caef918d303bad28ff (patch)
tree0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/llcommon/llfile.h
parentSecond Life viewer sources 1.18.3.5-RC (diff)
downloadmeta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llfile.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/linden/indra/llcommon/llfile.h b/linden/indra/llcommon/llfile.h
index 9e1a98a..f51cea9 100644
--- a/linden/indra/llcommon/llfile.h
+++ b/linden/indra/llcommon/llfile.h
@@ -5,6 +5,8 @@
5 * @brief Declaration of cross-platform POSIX file buffer and c++ 5 * @brief Declaration of cross-platform POSIX file buffer and c++
6 * stream classes. 6 * stream classes.
7 * 7 *
8 * $LicenseInfo:firstyear=2006&license=viewergpl$
9 *
8 * Copyright (c) 2006-2007, Linden Research, Inc. 10 * Copyright (c) 2006-2007, Linden Research, Inc.
9 * 11 *
10 * Second Life Viewer Source Code 12 * Second Life Viewer Source Code
@@ -27,6 +29,7 @@
27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 29 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 30 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
29 * COMPLETENESS OR PERFORMANCE. 31 * COMPLETENESS OR PERFORMANCE.
32 * $/LicenseInfo$
30 */ 33 */
31 34
32#ifndef LL_LLFILE_H 35#ifndef LL_LLFILE_H
@@ -37,12 +40,6 @@
37 * Attempts to mostly mirror the POSIX style IO functions. 40 * Attempts to mostly mirror the POSIX style IO functions.
38 */ 41 */
39 42
40#include <string>
41#include <stdio.h>
42#include <sys/stat.h>
43#include <fstream>
44#include "stdtypes.h"
45
46typedef FILE LLFILE; 43typedef FILE LLFILE;
47 44
48#ifdef LL_WINDOWS 45#ifdef LL_WINDOWS
@@ -56,6 +53,7 @@ typedef FILE LLFILE;
56// windows version of stat function and stat data structure are called _stat 53// windows version of stat function and stat data structure are called _stat
57typedef struct _stat llstat; 54typedef struct _stat llstat;
58#else 55#else
56#include <sys/stat.h>
59typedef struct stat llstat; 57typedef struct stat llstat;
60#endif 58#endif
61 59