File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 6
6
#ifndef BITCOIN_SCRIPT_SCRIPT_H
7
7
#define BITCOIN_SCRIPT_SCRIPT_H
8
8
9
+ #include " crypto/common.h"
10
+
9
11
#include < assert.h>
10
12
#include < climits>
11
13
#include < limits>
14
16
#include < string.h>
15
17
#include < string>
16
18
#include < vector>
17
- #include " crypto/common.h"
18
19
19
20
static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 520 ; // bytes
20
21
Original file line number Diff line number Diff line change 6
6
#ifndef BITCOIN_SERIALIZE_H
7
7
#define BITCOIN_SERIALIZE_H
8
8
9
+ #include " compat/endian.h"
10
+
9
11
#include < algorithm>
10
12
#include < assert.h>
11
13
#include < ios>
18
20
#include < utility>
19
21
#include < vector>
20
22
21
- #include " compat/endian.h"
22
-
23
23
class CScript ;
24
24
25
25
static const unsigned int MAX_SIZE = 0x02000000 ;
Original file line number Diff line number Diff line change 7
7
#include " config/bitcoin-config.h"
8
8
#endif
9
9
10
- #if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
11
- #include < pthread.h>
12
- #include < pthread_np.h>
13
- #endif
14
-
15
10
#include " util.h"
16
11
17
12
#include " chainparamsbase.h"
23
18
24
19
#include < stdarg.h>
25
20
21
+ #if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
22
+ #include < pthread.h>
23
+ #include < pthread_np.h>
24
+ #endif
25
+
26
26
#ifndef WIN32
27
27
// for posix_fallocate
28
28
#ifdef __linux__
You can’t perform that action at this time.
0 commit comments