42 lines
1006 B
Plaintext
42 lines
1006 B
Plaintext
--- doc/Makefile.am
|
|
+++ doc/Makefile.am 2003-12-15 13:04:19.000000000 +0100
|
|
@@ -5,7 +5,8 @@ else
|
|
man_MAGIC = magic.4
|
|
endif
|
|
fsect = @fsect@
|
|
-man_MANS = file.1 $(man_MAGIC) libmagic.3
|
|
+#man_MANS = file.1 $(man_MAGIC) libmagic.3
|
|
+man_MANS = file.1 magic.5 libmagic.3
|
|
|
|
EXTRA_DIST = file.man magic.man libmagic.man
|
|
CLEANFILES = $(man_MANS)
|
|
@@ -17,7 +18,8 @@ file.1: Makefile file.man
|
|
-e s@__VERSION__@${VERSION}@g \
|
|
-e s@__MAGIC__@${MAGIC}@g $(srcdir)/file.man > $@
|
|
|
|
-magic.${fsect}: Makefile magic.man
|
|
+#magic.${fsect}: Makefile magic.man
|
|
+magic.5: Makefile magic.man
|
|
@rm -f $@
|
|
sed -e s@__CSECTION__@1@g \
|
|
-e s@__FSECTION__@${fsect}@g \
|
|
--- src/readelf.h
|
|
+++ src/readelf.h 2003-07-01 16:53:55.000000000 +0200
|
|
@@ -34,7 +34,10 @@
|
|
#ifndef __fake_elf_h__
|
|
#define __fake_elf_h__
|
|
|
|
+#include <features.h>
|
|
+
|
|
#if HAVE_STDINT_H
|
|
+__BEGIN_DECLS
|
|
#include <stdint.h>
|
|
#endif
|
|
|
|
@@ -233,4 +236,5 @@ typedef struct {
|
|
#define GNU_OS_KFREEBSD 3
|
|
#define GNU_OS_KNETBSD 4
|
|
|
|
+__END_DECLS
|
|
#endif
|