rem: printf("ADD: %s\n", dir);
context: rdef_add_include_dir(const char *dir, bool toEndOfList){	clear_error();printf("ADD: %s\n", dir);	char *path = (char *)malloc(strlen(dir) + 2);	if (path == NULL) {		rdef_err = B_NO_MEMORY;		return B_NO_MEMORY;	}	strcpy(path, dir);	strcat(path, "/");	if (toEndOfList)		include_dirs.push_back(path);	else		include_dirs.push_front(path);	return B_OK;}