File tree Expand file tree Collapse file tree 3 files changed +5
-21
lines changed
Expand file tree Collapse file tree 3 files changed +5
-21
lines changed Original file line number Diff line number Diff line change 55#ifndef LOCK_GUARD_H_
66#define LOCK_GUARD_H_
77
8- #ifdef HAVE_CONFIG_H
9- #include " config.h"
10- #include " config_unix.h"
11- #include " config_win32.h"
12- #endif // HAVE_CONFIG_H
13-
148#include < pthread.h>
159
1610namespace ultragrid {
Original file line number Diff line number Diff line change 4040 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4141 */
4242
43- #ifdef HAVE_CONFIG_H
44- #include " config.h"
45- #include " config_unix.h"
46- #include " config_win32.h"
47- #endif // HAVE_CONFIG_H
48-
4943#include " resource_manager.h"
5044
51- #include " utils/lock_guard.h"
52-
5345#include < algorithm>
46+ #include < cstdlib> // for NULL, calloc, free
5447#include < map>
5548#include < stdexcept>
5649#include < string>
57- #include < typeinfo>
5850#include < utility>
5951
52+ #include " utils/lock_guard.h"
53+
6054#define TYPE_LOCK 0
6155#define TYPE_SHM 1
6256#define TYPE_SINGLETON 2
Original file line number Diff line number Diff line change 3535 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3636 */
3737
38- #ifdef HAVE_CONFIG_H
39- #include "config.h"
40- #include "config_unix.h"
41- #include "config_win32.h"
42- #endif // HAVE_CONFIG_H
43-
4438#ifndef RESOURCE_MANAGER_H_
4539#define RESOURCE_MANAGER_H_
4640
41+ #include <pthread.h>
42+
4743#ifdef __cplusplus
4844extern "C" {
4945#endif
You can’t perform that action at this time.
0 commit comments