1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-16 16:38:49 +00:00

Use 0 if O_DIRECTORY is missing, reported by Dagobert Michelsen.

This commit is contained in:
Nicholas Marriott 2014-01-06 15:12:05 +00:00
parent ccf39fcdc1
commit 886c282679

View File

@ -125,6 +125,10 @@ typedef uint64_t u_int64_t;
#define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
#endif
#ifndef O_DIRECTORY
#define O_DIRECTORY 0
#endif
#ifndef INFTIM
#define INFTIM -1
#endif