debian: O_TMPFILE already defined
This commit is contained in:
parent
1b5533ae10
commit
d5c0761da5
@ -27,9 +27,11 @@ void send_status_and_crc(int code, const char *last_filename);
|
||||
#ifndef __O_TMPFILE
|
||||
#define __O_TMPFILE 020000000
|
||||
#endif
|
||||
#ifndef O_TMPFILE
|
||||
/* a horrid kludge trying to make sure that this will fail on old kernels */
|
||||
#define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
|
||||
#define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
||||
#endif
|
||||
|
||||
void do_exit(int code, const char *last_filename)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user