24 lines
302 B
C
24 lines
302 B
C
#ifndef COMMON_H_
|
|
#define COMMON_H_
|
|
|
|
#ifndef _POSIX_C_SOURCE
|
|
#define _POSIX_C_SOURCE 200809L
|
|
#endif
|
|
#ifndef _DEFAULT_SOURCE
|
|
#define _DEFAULT_SOURCE
|
|
#endif
|
|
#ifndef _XOPEN_SOURCE
|
|
#define _XOPEN_SOURCE 700
|
|
#endif
|
|
|
|
#include <sys/types.h>
|
|
|
|
typedef struct
|
|
{
|
|
const char *path;
|
|
mode_t mode;
|
|
}
|
|
dir_t;
|
|
|
|
#endif
|