common.h: supply a default for SYSCONFDIR if not passed via CFLAGS

This commit is contained in:
rofl0r 2012-11-04 04:57:45 +01:00
parent 6f35888528
commit 859dabb302

View File

@ -2,7 +2,12 @@
#define PROXYCHAINS_QUIET_MODE_ENV_VAR "PROXYCHAINS_QUIET_MODE"
#define PROXYCHAINS_CONF_FILE "proxychains.conf"
#define LOG_PREFIX "[proxychains] "
#ifndef SYSCONFDIR
#define SYSCONFDIR "/etc"
#endif
#include <stddef.h>
char *get_config_path(char* default_path, char* pbuf, size_t bufsize);
char *get_config_path(char* default_path, char* pbuf, size_t bufsize);
//RcB: DEP "common.c"