Skip to content

Instantly share code, notes, and snippets.

@chmanie
Created April 7, 2019 05:49
Show Gist options
  • Save chmanie/e0d695b148b252723257eb204e53ace3 to your computer and use it in GitHub Desktop.
Save chmanie/e0d695b148b252723257eb204e53ace3 to your computer and use it in GitHub Desktop.
Patch cre2 to include stdint headers
From d1074223b6efc6fcb47ef06e99620e510d1db79b Mon Sep 17 00:00:00 2001
From: Christian Maniewski <code@chmanie.com>
Date: Fri, 5 Apr 2019 10:08:47 +0000
Subject: [PATCH] Add <stdint.h> include statement
Fixes an issue in src/cre2.h "error: unknown type name 'int64_t'"
---
src/cre2.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/cre2.h b/src/cre2.h
index faf2a7b..e535f84 100644
--- a/src/cre2.h
+++ b/src/cre2.h
@@ -17,6 +17,8 @@
** Headers.
** ----------------------------------------------------------------- */
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif
--
2.20.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment