aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2018-11-29 10:41:29 -0600
committerSeebs <seebs@seebs.net>2018-11-29 10:41:29 -0600
commit6c8651cf361531ebc9633ea3e0486ec048e6ac13 (patch)
tree485be25fb50f6dc8a4ac7d0e8c1b7b92d1260dd5
parent6294b344e5140f5467e6860f45a174440015304e (diff)
downloadpseudo-6c8651cf361531ebc9633ea3e0486ec048e6ac13.tar.gz
pseudo-6c8651cf361531ebc9633ea3e0486ec048e6ac13.tar.bz2
pseudo-6c8651cf361531ebc9633ea3e0486ec048e6ac13.zip
add missing <stdint.h>
Turns out you need <stdint.h> for int64_t and friends and some systems were picking it up implicitly and others weren't.
-rw-r--r--ChangeLog.txt5
-rw-r--r--pseudo_db.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index e0c66fc..e7f84a8 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,8 @@
+2018-11-29:
+ * (seebs) add missing <stdint.h> to pseudo_db.c. Thanks to
+ Bernhard Hartleb <bernhard.hartleb@gmail.com> for pointing
+ this out.
+
2018-09-20:
* (seebs) coerce inodes to signed int64_t range when shoving
them into sqlite.
diff --git a/pseudo_db.c b/pseudo_db.c
index 0994048..d7b28f1 100644
--- a/pseudo_db.c
+++ b/pseudo_db.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/stat.h>
#include <sys/xattr.h>
#include <time.h>