Skip to content

Commit

Permalink
Include <cstdint> unconditionally
Browse files Browse the repository at this point in the history
We need <cstdint> a.k.a <stdint.h> to access
width-based integer types like uint_fast8_t
  • Loading branch information
Taritsyn authored and saper committed Jan 7, 2016
1 parent b9766ba commit 76c952d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "utf8.h"

#include <cstdlib>
#include <cstdint>
#include <cmath>
#include <cctype>
#include <sstream>
Expand All @@ -24,10 +25,6 @@
#include <random>
#include <set>

#if defined(_MSC_VER) && _MSC_VER < 1900
#include "inttypes.h"
#endif

#ifdef __MINGW32__
#include "windows.h"
#include "wincrypt.h"
Expand Down

0 comments on commit 76c952d

Please sign in to comment.