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 committed by Leonardo Hernández Hernández
parent e5dc5b0ad7
commit be39a5d7e8
No known key found for this signature in database
GPG key ID: E538897EE11B9624
3 changed files with 10 additions and 3 deletions

6
dwl.c
View file

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