finit.h: added fallback for _PATH_{STDPATH,VARRUN} in case is not defined

That should never be needed , however I saw
  already systems with broken paths.h so better
  have something around in case something breaks.

Signed-off-by: crazy <crazy@frugalware.org>
This commit is contained in:
crazy
2017-03-28 13:21:14 +02:00
parent cd5348dffd
commit 67435d2034
+10
View File
@@ -36,6 +36,16 @@
#include <lite/lite.h>
#include <uev/uev.h>
/* just in case */
#ifndef _PATH_STDPATH
#define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
#endif
#ifndef _PATH_VARRUN
#define _PATH_VARRUN "/var/run/"
#endif
#define CMD_SIZE 256
#define LINE_SIZE 1024
#define BUF_SIZE 4096