aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-12-28 15:43:24 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-12-28 15:43:24 +0000
commit423d5064f2ad2a1f5d4808e37bcb42cfdf8197d6 (patch)
tree835a86d72af775f64a125fb111fce508f129e592
parentaaf219f01e5cd7fac54fafae24974e06a737b9ee (diff)
downloadnewlib-423d5064f2ad2a1f5d4808e37bcb42cfdf8197d6.zip
newlib-423d5064f2ad2a1f5d4808e37bcb42cfdf8197d6.tar.gz
newlib-423d5064f2ad2a1f5d4808e37bcb42cfdf8197d6.tar.bz2
* libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/sys/cygwin/sys/utmp.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3a95b86..452034e 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-28 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
+
2001-12-22 Geoffrey Keating <geoffk@redhat.com>
Catherine Moore <clm@redhat.com>
Richard Henderson <rth@redhat.com>
diff --git a/newlib/libc/sys/cygwin/sys/utmp.h b/newlib/libc/sys/cygwin/sys/utmp.h
index 12257f5..87cb5d3 100644
--- a/newlib/libc/sys/cygwin/sys/utmp.h
+++ b/newlib/libc/sys/cygwin/sys/utmp.h
@@ -13,6 +13,8 @@
#include <time.h>
#include <paths.h>
+#define UTMP_FILE _PATH_UTMP
+
#ifdef __cplusplus
extern "C" {
#endif