allow use config.def.h instead of config.h

This commit is contained in:
Leonardo Hernández Hernández 2022-10-16 15:42:16 -05:00
parent e6a0980cf9
commit 25a96a8190
No known key found for this signature in database
GPG key ID: E538897EE11B9624
3 changed files with 11 additions and 2 deletions

8
dwl.c
View file

@ -436,7 +436,13 @@ static Atom netatom[NetLast];
/* configuration, allows nested code to access above variables */
#include "push.h"
#include "config.h"
#ifdef USE_CONFIG_DEF_H
# include "config.def.h"
#else
# include "config.h"
#endif
#include "push.c"
/* attempt to encapsulate suck into one file */