commit c265fea7039300ff2283446ce6e7bc03439e2860
parent d0a6cfda92a1939ff6db91679e6c63f4067d4f3a
Author: maxice8 <thinkabit.ukim@gmail.com>
Date: Wed, 27 Jun 2018 21:55:47 -0300
jpg.h: add include for sys/types.h and define _GNU_SOURCE.
this allows us to use uint on musl libc systems like Void Linux and
Alpine.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/jpg.h b/jpg.h
@@ -1,6 +1,9 @@
#ifndef _JPG_H
#define _JPG_H
+#include <sys/types.h>
+
+#define _GNU_SOURCE 1
typedef struct {
uint height;
uint width;