Commit d935e9e5 authored by Michael Jerris's avatar Michael Jerris
Browse files

fix build on OpenBSD and NetBSD due to missing errno defs

darcs-hash:20061003143306-16063-c6afa5658d28761dd0b37359a3702e797dcfbc18.gz
parent dd111db9
...@@ -58,7 +58,7 @@ SOFIAPUBFUN int su_seterrno(int); ...@@ -58,7 +58,7 @@ SOFIAPUBFUN int su_seterrno(int);
#define su_seterrno(n) ((errno = (n)), -1) #define su_seterrno(n) ((errno = (n)), -1)
#endif #endif
#if defined(__APPLE_CC__) #if defined(__APPLE_CC__) || defined(__OpenBSD__) || defined(__NetBSD__)
#ifndef EBADMSG #ifndef EBADMSG
#define EBADMSG EFAULT #define EBADMSG EFAULT
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment