1
0
Fork 0
forked from len0rd/rockbox

misc: Only include rbpaths.h and string-extra.h in places that need it

(Don't include rbpaths.h in settings.h, or string-extra.h in rbpaths.h)

Build-tested on rocker, erosq, mini2g, nano2g,
                xduoox3, clipzip, dx50, and uisim

Change-Id: If32e9c9910f5c8247a655cb64522b84d6d7ccbb5
This commit is contained in:
Solomon Peachy 2021-04-10 10:42:38 -04:00
parent 1303be3437
commit bc416ff590
17 changed files with 15 additions and 10 deletions

View file

@ -20,9 +20,6 @@
* KIND, either express or implied.
*
****************************************************************************/
#define RB_FILESYSTEM_OS // VERY important this is before settings.h
// because that pulls in rbpaths.h which breaks open()
//#define LOGF_ENABLE
#include "config.h"

View file

@ -24,8 +24,6 @@
#include <stdbool.h>
#include "autoconf.h"
#include "string-extra.h"
/* name of directory where configuration, fonts and other data
* files are stored */

View file

@ -34,6 +34,7 @@
#include "system.h"
#include "kernel.h"
#include "lcd.h"
#include "string-extra.h"
#include "font.h"
#include "file.h"
#include "core_alloc.h"