#include <atalk/byteorder.h>
#include <atalk/netatalk_conf.h>
#include <atalk/volume.h>
-
-#include "spotlight.h"
+#include <atalk/spotlight.h>
static TALLOC_CTX *sl_ctx;
static void *sl_module;
**/
void sl_index_file(const char *path)
{
- sl_module_export->sl_mod_index_file(path);
+ if (sl_module_export && sl_module_export->sl_mod_index_file)
+ sl_module_export->sl_mod_index_file(path);
}
/**************************************************************************************************