Browse Source

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.
master
maxice8 7 years ago
parent
commit
c265fea703
  1. 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…
Cancel
Save