gnuisms
This commit is contained in:
parent
5551e51d2b
commit
05f50fe6bf
1 changed files with 10 additions and 1 deletions
|
|
@ -17,9 +17,18 @@
|
||||||
* TODO: graceful shutdown.
|
* TODO: graceful shutdown.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _GNU_SOURCE 1 /* for O_DIRECTORY */
|
#define _GNU_SOURCE 1 /* for O_DIRECTORY on Linux */
|
||||||
#include "a.h"
|
#include "a.h"
|
||||||
|
|
||||||
|
/* GNUisms */
|
||||||
|
#ifndef O_DIRECTORY
|
||||||
|
#define O_DIRECTORY 0
|
||||||
|
#endif
|
||||||
|
#ifndef O_LARGEFILE
|
||||||
|
#define O_LARGEFILE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
int debug;
|
int debug;
|
||||||
char *argv0;
|
char *argv0;
|
||||||
void fusedispatch(void*);
|
void fusedispatch(void*);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue