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:
parent
d0a6cfda92
commit
c265fea703
1 changed files with 3 additions and 0 deletions
3
jpg.h
3
jpg.h
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue