diff options
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/includes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h index 1a92e46657..df0d8f7713 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -54,4 +54,10 @@ #define TALLOC_ABORT(reason) smb_panic(reason) #endif +/* this needs to be a string which is not in the C library. We + previously used "init_module", but that meant that modules which + did not define this function ended up calling the C library + function init_module() which makes a system call */ +#define SAMBA_INIT_MODULE "samba_init_module" + #endif /* _INCLUDES_H */ |