1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-12-02 14:05:43 -05:00

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.
This commit is contained in:
maxice8 2018-06-27 21:55:47 -03:00
parent d0a6cfda92
commit c265fea703

3
jpg.h
View file

@ -1,6 +1,9 @@
#ifndef _JPG_H #ifndef _JPG_H
#define _JPG_H #define _JPG_H
#include <sys/types.h>
#define _GNU_SOURCE 1
typedef struct { typedef struct {
uint height; uint height;
uint width; uint width;