Skip to content

Commit

Permalink
fix: missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Karrq committed Oct 26, 2023
1 parent f111c91 commit c371425
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/src/chacha.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include "cx.h"
#include "os.h"
#include "zxmacros.h"
#include <stdint.h>
#include <stdlib.h>

#define U8TO32_LITTLE(p) \
(((uint32_t)((p)[0])) | ((uint32_t)((p)[1]) << 8) | \
Expand Down
5 changes: 5 additions & 0 deletions app/src/chacha.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */

#pragma once

#include <stddef.h>
#include <stdint.h>

#if defined(__cplusplus)
extern "C" {
#endif
Expand Down
1 change: 0 additions & 1 deletion app/src/sighash.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "nvdata.h"
#include "os.h"
#include "txid.h"
#include <inttypes.h>
#include <zxformat.h>
#include <zxmacros.h>

Expand Down
2 changes: 2 additions & 0 deletions app/src/sighash.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#pragma once

#include <stdint.h>

typedef enum {
transparent = 0,
shielded = 1,
Expand Down

0 comments on commit c371425

Please sign in to comment.