Skip to content

Commit

Permalink
Fix windows build after clang format refactoring (#94)
Browse files Browse the repository at this point in the history
* Swapped back the order of the windows include files to fix the Visual Studio build.
  • Loading branch information
christianpaquin authored and dstebila committed Jan 27, 2017
1 parent 810651c commit e98ddd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ CommentPragmas: '^ IWYU pragma:'
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
SpaceBeforeParens: ControlStatements
DisableFormat: false
SortIncludes: false
...
2 changes: 1 addition & 1 deletion src/crypto/rand_urandom_aesctr/rand_urandom_aesctr.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <sys/types.h>
#if defined(WINDOWS)
#include <Wincrypt.h>
#include <windows.h>
#include <Wincrypt.h>
#else
#include <strings.h>
#include <sys/uio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/rand_urandom_chacha20/rand_urandom_chacha20.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <sys/types.h>
#if defined(WINDOWS)
#include <Wincrypt.h>
#include <windows.h>
#include <Wincrypt.h>
#else
#include <strings.h>
#include <sys/uio.h>
Expand Down

0 comments on commit e98ddd1

Please sign in to comment.