aboutsummaryrefslogtreecommitdiff
path: root/system/include
diff options
context:
space:
mode:
Diffstat (limited to 'system/include')
-rw-r--r--system/include/dlfcn.h3
-rw-r--r--system/include/gc.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/system/include/dlfcn.h b/system/include/dlfcn.h
index 3a4edd00..7986c12d 100644
--- a/system/include/dlfcn.h
+++ b/system/include/dlfcn.h
@@ -1,3 +1,5 @@
+#ifndef _DLFCN_H_INCLUDED
+#define _DLFCN_H_INCLUDED
#ifdef __cplusplus
extern "C" {
@@ -26,3 +28,4 @@ int dladdr(void *addr, Dl_info *info);
}
#endif
+#endif
diff --git a/system/include/gc.h b/system/include/gc.h
index 8c5a8989..a21fd410 100644
--- a/system/include/gc.h
+++ b/system/include/gc.h
@@ -1,6 +1,8 @@
/*
* Boehm-compatible GC API
*/
+#ifndef _GC_H_INCLUDED
+#define _GC_H_INCLUDED
#include <stdlib.h>
@@ -65,3 +67,4 @@ void GC_enable_incremental();
}
#endif
+#endif