mirror of
https://github.com/samba-team/samba.git
synced 2025-12-02 00:23:50 +03:00
It occurred to me that the samba includes.h file should be included in the
header files used by the ubiqx modules, instead of being hidden in the .c files. This would ensure that anything in includes.h would be "seen" by the ubiqx headers. I also had to put an #ifdef around the includes for ubi_SplayTree.h and ubi_Cache.h in includes.h to prevent the header of the descendant type from being included before its parent type. Chris -)-----
This commit is contained in:
@@ -1386,11 +1386,14 @@ extern int errno;
|
||||
|
||||
|
||||
/* -------------------------------------------------------------------------- **
|
||||
* Lists, trees, and caches...
|
||||
* Lists, trees, and caching...
|
||||
*/
|
||||
#include "ubiqx/ubi_sLinkList.h"
|
||||
#include "ubiqx/ubi_dLinkList.h"
|
||||
|
||||
#ifndef UBI_BINTREE_H
|
||||
#include "ubiqx/ubi_SplayTree.h"
|
||||
#include "ubiqx/ubi_Cache.h"
|
||||
#endif /* UBI_BINTREE_H */
|
||||
|
||||
#endif /* _INCLUDES_H */
|
||||
|
||||
Reference in New Issue
Block a user