Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: rdi-share devsw.c compilation failure [RFA]
Date: Thu, 03 May 2001 05:32:00 -0000	[thread overview]
Message-ID: <3AF14FDA.4B17F4B5@redhat.com> (raw)

Newer versions of glibc cause compilation of rdi-share/devsw.c to fail
because sys/time.h no longer guarantees the presence of struct tm.

This patch fixes that. Okay to install? Is there anything I need to do
specially since this rdi-share stuff is imported?

2001-05-03  Jonathan Larmour  <jlarmour@redhat.com>

	* rdi-share/devsw.c: Include <time.h> for struct tm

Index: devsw.c
===================================================================
RCS file: /cvs/src/src/gdb/rdi-share/devsw.c,v
retrieving revision 1.1.1.5
diff -u -5 -p -r1.1.1.5 devsw.c
--- devsw.c	2000/01/25 02:40:14	1.1.1.5
+++ devsw.c	2001/05/03 12:32:07
@@ -14,10 +14,11 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>
+#include <time.h>
 
 #include "adp.h"
 #include "sys.h"
 #include "hsys.h"
 #include "rxtx.h"

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


             reply	other threads:[~2001-05-03  5:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-03  5:32 Jonathan Larmour [this message]
2001-05-03  6:23 ` Fernando Nasser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AF14FDA.4B17F4B5@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox