git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1767
91ce42f0-d328-0410-95d8-
f526ca767f89
/*
* send Storage daemon address to the File daemon
*/
- store = (STORE *)jcr->storage[0]->first();
+ store = jcr->store;
if (store->SDDport == 0) {
store->SDDport = store->SDport;
}
#include "dird.h"
#ifdef HAVE_PYTHON
+#undef _POSIX_C_SOURCE
#include <Python.h>
bool run_module(const char *module);
#include "bacula.h"
+EVENT_HANDLER *generate_event;
+
#ifdef HAVE_PYTHON
+#undef _POSIX_C_SOURCE
#include <Python.h>
-EVENT_HANDLER *generate_event;
PyObject *bacula_get(PyObject *self, PyObject *args);
PyObject *bacula_set(PyObject *self, PyObject *args, PyObject *keyw);