util.h (6dcca6df4b73d409628c7b4464c63d4eb9d4d13a) util.h (20a9ed280dde6292c529dfdaaf9ce743ef71bb1f)
1#ifndef GIT_COMPAT_UTIL_H
2#define GIT_COMPAT_UTIL_H
3
4#define _ALL_SOURCE 1
5#define _BSD_SOURCE 1
6/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */
7#define _DEFAULT_SOURCE 1
8#define HAS_BOOL

--- 20 unchanged lines hidden (view full) ---

29#include <regex.h>
30#include <utime.h>
31#include <sys/wait.h>
32#include <poll.h>
33#include <sys/socket.h>
34#include <sys/ioctl.h>
35#include <linux/kernel.h>
36#include <linux/types.h>
1#ifndef GIT_COMPAT_UTIL_H
2#define GIT_COMPAT_UTIL_H
3
4#define _ALL_SOURCE 1
5#define _BSD_SOURCE 1
6/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */
7#define _DEFAULT_SOURCE 1
8#define HAS_BOOL

--- 20 unchanged lines hidden (view full) ---

29#include <regex.h>
30#include <utime.h>
31#include <sys/wait.h>
32#include <poll.h>
33#include <sys/socket.h>
34#include <sys/ioctl.h>
35#include <linux/kernel.h>
36#include <linux/types.h>
37#include <api/fs/tracing_path.h>
38
39extern char buildid_dir[];
40
41#ifdef __GNUC__
42#define NORETURN __attribute__((__noreturn__))
43#else
44#define NORETURN
45#ifndef __attribute__

--- 114 unchanged lines hidden ---
37
38extern char buildid_dir[];
39
40#ifdef __GNUC__
41#define NORETURN __attribute__((__noreturn__))
42#else
43#define NORETURN
44#ifndef __attribute__

--- 114 unchanged lines hidden ---