21 #include "../../SDL_internal.h"
23 #ifdef SDL_FILESYSTEM_HAIKU
28 #include <kernel/image.h>
29 #include <storage/Directory.h>
30 #include <storage/Entry.h>
31 #include <storage/Path.h>
44 while (get_next_image_info(0, &cookie, &info) == B_OK) {
45 if (info.type == B_APP_IMAGE) {
50 BEntry entry(info.name,
true);
52 status_t rc = entry.GetPath(&
path);
56 const char *str =
path.Path();
78 const char *append =
"/config/settings/";
89 if (!
len || (home[
len - 1] ==
'/')) {
102 create_directory(
retval, 0700);