forked from qt-creator/qt-creator
define EPROTO fallback for openbsd
This commit is contained in:
@@ -46,6 +46,11 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
/* For OpenBSD */
|
||||||
|
#ifndef EPROTO
|
||||||
|
# define EPROTO EINVAL
|
||||||
|
#endif
|
||||||
|
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
static int qtcFd;
|
static int qtcFd;
|
||||||
|
|||||||
Reference in New Issue
Block a user