mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-18 22:06:01 +01:00
use PATH_MAX instead of _POSIX_PATH_MAX
This commit is contained in:
parent
a6943aa3f3
commit
ca169340b1
1 changed files with 2 additions and 2 deletions
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 a new issue