2018-04-13 20:55:04 +00:00
|
|
|
/*
|
|
|
|
| feature.h from Lsyncd -- the Live (Mirror) Syncing Demon
|
|
|
|
|
|
|
|
|
| Some Definitions to enable proper clib header features
|
|
|
|
| Also loads the cmake config file
|
|
|
|
|
|
|
|
|
| License: GPLv2 (see COPYING) or any later version
|
|
|
|
| Authors: Axel Kittenberger <axkibe@gmail.com>
|
|
|
|
*/
|
|
|
|
#ifndef FEATURE_H
|
|
|
|
#define FEATURE_H
|
|
|
|
|
2018-06-06 07:24:13 +00:00
|
|
|
|
2018-04-13 20:55:04 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
// some older machines need this to see pselect
|
2018-05-25 08:10:38 +00:00
|
|
|
#define _BSD_SOURCE 1
|
2018-04-13 20:55:04 +00:00
|
|
|
#define _DEFAULT_SOURCE 1
|
|
|
|
#define _XOPEN_SOURCE 700
|
|
|
|
#define _DARWIN_C_SOURCE 1
|
|
|
|
|
2018-06-06 07:24:13 +00:00
|
|
|
|
2018-04-13 20:55:04 +00:00
|
|
|
#endif
|