define EPROTO fallback for openbsd

This commit is contained in:
Oswald Buddenhagen
2010-03-05 20:13:00 +01:00
parent a7a370db99
commit 1b5bc65645

View File

@@ -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;