Fixed: [Handle missing SOCK_NONBLOCK on MacOS](https://github.com/clicon/clixon/issues/540)
This commit is contained in:
parent
d6622772bf
commit
3b45cf9f4d
1 changed files with 5 additions and 0 deletions
|
|
@ -158,6 +158,11 @@
|
||||||
#include "restconf_http1.h"
|
#include "restconf_http1.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SOCK_NONBLOCK
|
||||||
|
#include <fcntl.h>
|
||||||
|
#define SOCK_NONBLOCK O_NONBLOCK
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Command line options to be passed to getopt(3) */
|
/* Command line options to be passed to getopt(3) */
|
||||||
#define RESTCONF_OPTS "hVD:f:E:l:C:p:y:a:u:rW:R:t:o:"
|
#define RESTCONF_OPTS "hVD:f:E:l:C:p:y:a:u:rW:R:t:o:"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue