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
1 changed files with 2 additions and 2 deletions

4
util.c
View File

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