diff options
author | okan | 2015-01-19 14:54:16 +0000 |
---|---|---|
committer | okan | 2015-01-19 14:54:16 +0000 |
commit | 69c7524909cec83591a6cea56722753922d9999a (patch) | |
tree | 72877cdf61c2c8dd2e5e35e0909cb9058c225ca0 /xevents.c | |
parent | 526655bfc9928c3519a08eba2fbeb5806ae387df (diff) | |
download | cwm-69c7524909cec83591a6cea56722753922d9999a.tar.gz |
Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX
and HOST_NAME_MAX+1, respectively.
ok doug@
Diffstat (limited to '')
-rw-r--r-- | xevents.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xevents.c,v 1.115 2014/09/27 19:04:32 okan Exp $ + * $OpenBSD: xevents.c,v 1.116 2015/01/19 14:54:16 okan Exp $ */ /* @@ -24,11 +24,12 @@ * management of the xevent's. */ -#include <sys/param.h> +#include <sys/types.h> #include <sys/queue.h> #include <err.h> #include <errno.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |