summaryrefslogtreecommitdiff
path: root/src/internal.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2023-02-10 15:27:06 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2023-02-10 15:27:06 +0100
commit7501bff8432444b7ae8e7f3d9289c0d61f3f0b64 (patch)
treebd53603f464c3747e897a8996158a0fef7b41bc3 /src/internal.h
parent0f124df68d87c9073f76efeff1a901a69b1f3e13 (diff)
parent9e9336185f86bd97ff22f54e4d561c2cccccecf5 (diff)
Merge branch 'release/debian/4.10-1'debian/4.10-1
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
index d348520..0465d81 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -10,6 +10,7 @@
#define LIBHX_INTERNAL_H 1
#include "config.h"
+#include <stdint.h>
#include <libHX/defs.h>
#include <libHX/string.h>
@@ -42,6 +43,9 @@
#define MAXLNLEN 1024 /* max length for usual line */
#define HXMC_IDENT 0x200571AF
+#if !defined(__cplusplus)
+# define nullptr NULL
+#endif
struct memcont {
size_t alloc, length;
@@ -53,5 +57,6 @@ struct timespec;
struct timeval;
extern hxmc_t *HXparse_dequote_fmt(const char *, const char *, const char **);
+extern size_t HX_substr_helper(size_t, long, long, size_t *);
#endif /* LIBHX_INTERNAL_H */