diff options
author | shishir gowda <shishirng@gluster.com> | 2011-03-06 22:14:32 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-03-07 08:01:27 -0800 |
commit | cad088fe3a77bd3322de278c0337c1e29906f9cc (patch) | |
tree | 6cd6dde76cf1d084d70c4920996a09f4d1564302 /libglusterfs/src/glusterfs.h | |
parent | 7ef59472f10a69c90d94b73e97bca385c6b4b29e (diff) |
build fixes in mac os xv3.1.3qa5
Looks good.
----- Original Message -----
From: "Amar Tumballi" <amar@gluster.com>
To: rfc@dev.gluster.com
Sent: Thursday, March 3, 2011 6:30:52 PM
Subject: [PATCH BUG:625] build fixes in mac os x
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 625 (Gluster Fails to build on OS X 10.6.2)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=625
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 6e23c283a..97f31961a 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -64,6 +64,11 @@ #define O_DIRECTORY 0 #endif +#ifndef EBADFD +/* Mac OS X does not have EBADFD */ +#define EBADFD EBADF +#endif + #ifndef FNM_EXTMATCH #define FNM_EXTMATCH 0 #endif |