Fix for deprecated warnings related to gnu libc sys macros.
The patch only includes sysmacros for linux, the only target with gnu libc to avoid regression issues.
This commit is contained in:
@@ -90,6 +90,11 @@
|
||||
#define __VA_START__(p,a) va_start(p)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#include "pax.h"
|
||||
#include "options.h"
|
||||
|
||||
|
||||
@@ -90,6 +90,11 @@
|
||||
#define __VA_START__(p,a) va_start(p)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#include "pax.h"
|
||||
#include "options.h"
|
||||
|
||||
|
||||
@@ -90,6 +90,11 @@
|
||||
#define __VA_START__(p,a) va_start(p)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#include <ast.h>
|
||||
#include <ctype.h>
|
||||
#include <ls.h>
|
||||
|
||||
Reference in New Issue
Block a user