diff options
author | Duncaen <mail@duncano.de> | 2015-10-25 14:37:11 +0100 |
---|---|---|
committer | Duncaen <mail@duncano.de> | 2015-10-25 14:37:11 +0100 |
commit | d49889d24686fff901392b6dd1f9c6a5214e8464 (patch) | |
tree | 3e9e40cad8a5cf976c331e850e6c423f24e0d1ae /src/libtrace/musl_defs.h | |
parent | fix struct stat64 problem for musl libc (diff) | |
download | firejail-d49889d24686fff901392b6dd1f9c6a5214e8464.tar.gz firejail-d49889d24686fff901392b6dd1f9c6a5214e8464.tar.zst firejail-d49889d24686fff901392b6dd1f9c6a5214e8464.zip |
Revert "fix struct stat64 problem for musl libc"
This reverts commit 801164566924c41d18d66bdc9ca8b2305103fb82.
Diffstat (limited to 'src/libtrace/musl_defs.h')
-rw-r--r-- | src/libtrace/musl_defs.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/libtrace/musl_defs.h b/src/libtrace/musl_defs.h deleted file mode 100644 index 02eb65b83..000000000 --- a/src/libtrace/musl_defs.h +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014, 2015 Firejail Authors | ||
3 | * | ||
4 | * This file is part of firejail project | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | */ | ||
20 | |||
21 | #ifndef _MUSL_DEFS_H | ||
22 | #define _MUSL_DEFS_H | ||
23 | |||
24 | #include <features.h> | ||
25 | |||
26 | #define __NEED_FILE | ||
27 | #define __NEED_dev_t | ||
28 | #define __NEED_ino_t | ||
29 | #define __NEED_mode_t | ||
30 | #define __NEED_nlink_t | ||
31 | #define __NEED_uid_t | ||
32 | #define __NEED_gid_t | ||
33 | #define __NEED_off_t | ||
34 | #define __NEED_time_t | ||
35 | #define __NEED_blksize_t | ||
36 | #define __NEED_blkcnt_t | ||
37 | #define __NEED_struct_timespec | ||
38 | |||
39 | #include <bits/alltypes.h> | ||
40 | #include <bits/stat.h> | ||
41 | |||
42 | #ifdef __cplusplus | ||
43 | #define NULL 0L | ||
44 | #else | ||
45 | #define NULL ((void*)0) | ||
46 | #endif | ||
47 | |||
48 | int printf(const char *format, ...); | ||
49 | int sprintf(char *buffer, const char *format, ...); | ||
50 | char *fgets(char *buffer, int size, FILE *fp); | ||
51 | |||
52 | #endif | ||