diff options
author | Pierre Ossman <ossman@cendio.se> | 2007-10-03 14:47:26 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2007-10-03 14:47:26 +0000 |
commit | cef65632734caf00fbf1b0e44672d0e3c533c52f (patch) | |
tree | bf5ec714f759e19143ecef82389693476cd1c150 /src/pulsecore/authkey.c | |
parent | ce74146a817481c95942f4afee73d918ba82427d (diff) |
Assorted minor Windows compatibility fixes for recent code updates.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1928 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/authkey.c')
-rw-r--r-- | src/pulsecore/authkey.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/authkey.c b/src/pulsecore/authkey.c index 4d9bfd3a..d422d6a2 100644 --- a/src/pulsecore/authkey.c +++ b/src/pulsecore/authkey.c @@ -71,6 +71,10 @@ static int generate(int fd, void *ret_data, size_t length) { #define O_BINARY 0 #endif +#ifndef O_NOCTTY +#define O_NOCTTY 0 +#endif + /* Load an euthorization cookie from file fn and store it in data. If * the cookie file doesn't exist, create it */ static int load(const char *fn, void *data, size_t length) { |