use PATH_MAX instead of _POSIX_PATH_MAX
This commit is contained in:
parent
a6943aa3f3
commit
ca169340b1
4
util.c
4
util.c
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue