use PATH_MAX instead of _POSIX_PATH_MAX

This commit is contained in:
Julien Danjou 2007-09-28 13:42:13 +02:00
parent a6943aa3f3
commit ca169340b1

4
util.c
View file

@ -24,7 +24,7 @@
#include <stdio.h>
#include <sys/wait.h>
#include <unistd.h>
#include <bits/posix1_lim.h>
#include <limits.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
@ -60,7 +60,7 @@ uicb_exec(Display * disp,
awesome_config * awesomeconf __attribute__ ((unused)),
const char *arg)
{
char path[_POSIX_PATH_MAX];
char path[PATH_MAX];
if(disp)
close(ConnectionNumber(disp));