diff options
Diffstat (limited to 'env_universal_common.cpp')
-rw-r--r-- | env_universal_common.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/env_universal_common.cpp b/env_universal_common.cpp index f600e70a..2b12cf10 100644 --- a/env_universal_common.cpp +++ b/env_universal_common.cpp @@ -27,7 +27,6 @@ #include <locale.h> #include <dirent.h> #include <signal.h> -#include <sys/stat.h> #include <map> #ifdef HAVE_SYS_SELECT_H @@ -87,6 +86,13 @@ #define ENV_UNIVERSAL_EOF 0x102 /** + Maximum length of socket filename +*/ +#ifndef UNIX_PATH_MAX +#define UNIX_PATH_MAX 100 +#endif + +/** A variable entry. Stores the value of a variable and whether it should be exported. Obviously, it needs to be allocated large enough to fit the value string. @@ -417,7 +423,7 @@ void env_universal_common_init(void (*cb)(fish_message_type_t type, const wchar_ } /** - Read one byte of date form the specified connection + Read one byte of date from the specified connection */ static int read_byte(connection_t *src) { |