Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
07415184
Commit
07415184
authored
Jul 03, 2012
by
Niels Möller
Browse files
On windows, include fcntl.h, before using _setmode.
parent
7400439c
Changes
5
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
07415184
...
...
@@ -5,7 +5,8 @@
Needed for cross-compiling with --host=i586-mingw32msvc.
* examples/base16dec.c: Don't #include files using <nettle/...>,
we don't want to pick up installed versions.
we don't want to pick up installed versions. On windows, include
<fcntl.h>, needed for _setmode.
* examples/base16enc.c: Likewise.
* examples/base64dec.c: Likewise.
* examples/base64enc.c: Likewise
...
...
examples/base16dec.c
View file @
07415184
...
...
@@ -26,6 +26,9 @@
#include
<stdlib.h>
#include
<stdio.h>
#include
<string.h>
#ifdef WIN32
#include
<fcntl.h>
#endif
#include
"base16.h"
...
...
examples/base16enc.c
View file @
07415184
...
...
@@ -26,6 +26,9 @@
#include
<stdlib.h>
#include
<stdio.h>
#include
<string.h>
#ifdef WIN32
#include
<fcntl.h>
#endif
#include
"base16.h"
...
...
examples/base64dec.c
View file @
07415184
...
...
@@ -26,6 +26,9 @@
#include
<stdlib.h>
#include
<stdio.h>
#include
<string.h>
#ifdef WIN32
#include
<fcntl.h>
#endif
#include
"base64.h"
...
...
examples/base64enc.c
View file @
07415184
...
...
@@ -26,6 +26,9 @@
#include
<stdlib.h>
#include
<stdio.h>
#include
<string.h>
#ifdef WIN32
#include
<fcntl.h>
#endif
#include
"base64.h"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment