diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2012-01-15 00:49:58 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-25 15:52:12 +0200 |
commit | 079db24a313a4a4158248c4bf95b70b59bee0649 (patch) | |
tree | 69dfc1b208654b517330b57957ef68620b99040b /src/os.h | |
parent | 40665f1a7cbd2ebcb1576c8ee68cd6d03f092c3d (diff) | |
download | screen-079db24a313a4a4158248c4bf95b70b59bee0649.tar.gz |
that's all?
Diffstat (limited to 'src/os.h')
-rw-r--r-- | src/os.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -38,15 +38,14 @@ #define NAME_MAX 14 #endif -#ifdef ISC -# ifdef ENAMETOOLONG -# undef ENAMETOOLONG -# endif -# ifdef ENOTEMPTY -# undef ENOTEMPTY +#include <limits.h> + +#ifndef NAME_MAX +# ifndef MAXNAMELEN +# define NAME_MAX 255 +# else +# define NAME_MAX MAXNAMELEN # endif -# include <sys/bsdtypes.h> -# include <net/errno.h> #endif #include <unistd.h> |