Skip to content

Commit

Permalink
fix header include groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Kaufmann authored and theuni committed May 14, 2015
1 parent 59b149f commit 5207f33
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/script/script.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#ifndef BITCOIN_SCRIPT_SCRIPT_H
#define BITCOIN_SCRIPT_SCRIPT_H

#include "crypto/common.h"

#include <assert.h>
#include <climits>
#include <limits>
Expand All @@ -14,7 +16,6 @@
#include <string.h>
#include <string>
#include <vector>
#include "crypto/common.h"

static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 520; // bytes

Expand Down
4 changes: 2 additions & 2 deletions src/serialize.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#ifndef BITCOIN_SERIALIZE_H
#define BITCOIN_SERIALIZE_H

#include "compat/endian.h"

#include <algorithm>
#include <assert.h>
#include <ios>
Expand All @@ -18,8 +20,6 @@
#include <utility>
#include <vector>

#include "compat/endian.h"

class CScript;

static const unsigned int MAX_SIZE = 0x02000000;
Expand Down
10 changes: 5 additions & 5 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
#include "config/bitcoin-config.h"
#endif

#if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
#include <pthread.h>
#include <pthread_np.h>
#endif

#include "util.h"

#include "chainparamsbase.h"
Expand All @@ -23,6 +18,11 @@

#include <stdarg.h>

#if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
#include <pthread.h>
#include <pthread_np.h>
#endif

#ifndef WIN32
// for posix_fallocate
#ifdef __linux__
Expand Down

0 comments on commit 5207f33

Please sign in to comment.