aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1998-04-30 03:45:54 +0000
committerRichard M. Stallman1998-04-30 03:45:54 +0000
commiteabb24d041c01f5f927363aa924ca90a0bdf3522 (patch)
tree01cda0f5c9ce6fbfe4d6f12ac1b57a24ddde264f /src
parent5e1298a9afb67217551d83807db187ba8f0d0968 (diff)
downloademacs-eabb24d041c01f5f927363aa924ca90a0bdf3522.tar.gz
emacs-eabb24d041c01f5f927363aa924ca90a0bdf3522.zip
[defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__)]:
Include definition of HDRR structure that used to be in sym.h, instead of sym.h.
Diffstat (limited to 'src')
-rw-r--r--src/unexelf.c33
1 files changed, 32 insertions, 1 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index 341147a576d..75961656073 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -430,7 +430,38 @@ Filesz Memsz Flags Align
430#endif /* __sony_news && _SYSTYPE_SYSV */ 430#endif /* __sony_news && _SYSTYPE_SYSV */
431 431
432#if defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__) 432#if defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__)
433#include <sym.h> /* get COFF debugging symbol table declaration */ 433/* Declare COFF debugging symbol table. This used to be in
434 /usr/include/sym.h, but this file is no longer included in Red Hat
435 5.0 and presumably in any other glibc 2.x based distribution. */
436typedef struct {
437 short magic;
438 short vstamp;
439 int ilineMax;
440 int idnMax;
441 int ipdMax;
442 int isymMax;
443 int ioptMax;
444 int iauxMax;
445 int issMax;
446 int issExtMax;
447 int ifdMax;
448 int crfd;
449 int iextMax;
450 long cbLine;
451 long cbLineOffset;
452 long cbDnOffset;
453 long cbPdOffset;
454 long cbSymOffset;
455 long cbOptOffset;
456 long cbAuxOffset;
457 long cbSsOffset;
458 long cbSsExtOffset;
459 long cbFdOffset;
460 long cbRfdOffset;
461 long cbExtOffset;
462} HDRR, *pHDRR;
463#define cbHDRR sizeof(HDRR)
464#define hdrNil ((pHDRR)0)
434#endif 465#endif
435 466
436#ifdef __NetBSD__ 467#ifdef __NetBSD__