Commit 913cdd91b1d696e02dff22273b7721d8dad4bf2a

Guillem Jover 2011-05-28T06:35:18

Do not use the same header inclusion protector for <nlist.h> and <bsd/nlist.h> Regression introduced in commit f7caf2b30da93d46528ec706dffaf5cbde5266d9.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/nlist.h b/include/nlist.h
index ee576ae..ac04b1d 100644
--- a/include/nlist.h
+++ b/include/nlist.h
@@ -24,8 +24,8 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef LIBBSD_NLIST_H
-#define LIBBSD_NLIST_H
+#ifndef LIBBSD_DEPRECATED_NLIST_H
+#define LIBBSD_DEPRECATED_NLIST_H
 
 #ifdef LIBBSD_DISABLE_DEPRECATED
 #error "Deprecated header, use <bsd/nlist.h> or libbsd-overlay.pc instead."