Skip to content

Commit

Permalink
[BZ #720]
Browse files Browse the repository at this point in the history
2005-02-14  Roland McGrath  <roland@redhat.com>
	[BZ #720]
	* sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
	if it wasn't originally.
  • Loading branch information
Roland McGrath committed Feb 15, 2005
1 parent 804dc8a commit 00a78f6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2005-02-14 Roland McGrath <roland@redhat.com>

[BZ #720]
* sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
if it wasn't originally.

2005-02-14 GOTO Masanori <gotom@debian.or.jp>

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
Expand Down
10 changes: 8 additions & 2 deletions sysdeps/unix/sysv/linux/sys/kd.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand All @@ -21,9 +21,15 @@

/* Make sure the <linux/types.h> header is not loaded. */
#ifndef _LINUX_TYPES_H
# define _LINUX_TYPES_H 1
# define _LINUX_TYPES_H 1
# define __undef_LINUX_TYPES_H
#endif

#include <linux/kd.h>

#ifdef __undef_LINUX_TYPES_H
# undef _LINUX_TYPES_H
# undef __undef_LINUX_TYPES_H
#endif

#endif /* sys/kd.h */

0 comments on commit 00a78f6

Please sign in to comment.