aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/solib.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 93a2353..9b583d3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-07 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * solib.h: Protect against multiple inclusion.
+
2002-05-06 Jim Blandy <jimb@redhat.com>
Separate the job of reading the line number info statement program
diff --git a/gdb/solib.h b/gdb/solib.h
index 76f287b..04be72d 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -19,6 +19,9 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef SOLIB_H
+#define SOLIB_H
+
/* Forward decl's for prototypes */
struct target_ops;
@@ -197,3 +200,5 @@ extern int in_solib_dynsym_resolve_code (CORE_ADDR); /* solib.c */
/* Discard symbols that were auto-loaded from shared libraries. */
extern void no_shared_libraries (char *ignored, int from_tty);
+
+#endif /* SOLIB_H */