Skip to content

Commit

Permalink
add missing include files in headers
Browse files Browse the repository at this point in the history
  • Loading branch information
chqrlie committed Jun 6, 2024
1 parent 22c1022 commit e36f4bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libregexp.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ int lre_exec(uint8_t **capture,
int lre_parse_escape(const uint8_t **pp, int allow_utf16);
LRE_BOOL lre_is_space(int c);

void lre_byte_swap(uint8_t *buf, size_t len, BOOL is_byte_swapped);
void lre_byte_swap(uint8_t *buf, size_t len, LRE_BOOL is_byte_swapped);

/* must be provided by the user */
LRE_BOOL lre_check_stack_overflow(void *opaque, size_t alloca_size);
Expand Down
1 change: 1 addition & 0 deletions libunicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#ifndef LIBUNICODE_H
#define LIBUNICODE_H

#include <stddef.h>
#include <inttypes.h>

#define LRE_BOOL int /* for documentation purposes */
Expand Down

0 comments on commit e36f4bc

Please sign in to comment.