diff options
Diffstat (limited to 'linden/indra/llcommon/llfile.h')
-rw-r--r-- | linden/indra/llcommon/llfile.h | 10 |
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 | |||
46 | typedef FILE LLFILE; | 43 | typedef 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 |
57 | typedef struct _stat llstat; | 54 | typedef struct _stat llstat; |
58 | #else | 55 | #else |
56 | #include <sys/stat.h> | ||
59 | typedef struct stat llstat; | 57 | typedef struct stat llstat; |
60 | #endif | 58 | #endif |
61 | 59 | ||