Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Wim Lewis
nettle
Commits
07415184
Commit
07415184
authored
Jul 03, 2012
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
On windows, include fcntl.h, before using _setmode.
parent
7400439c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
1 deletion
+14
-1
ChangeLog
ChangeLog
+2
-1
examples/base16dec.c
examples/base16dec.c
+3
-0
examples/base16enc.c
examples/base16enc.c
+3
-0
examples/base64dec.c
examples/base64dec.c
+3
-0
examples/base64enc.c
examples/base64enc.c
+3
-0
No files found.
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
Markdown
is supported
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