summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/pinky.c5
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 03c59d377..fe87f0a5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2006-10-14 Jim Meyering <jim@meyering.net>
+ * src/pinky.c (S_IWGRP): Don't define.
+ Instead, include "stat-macros.h".
+
* Makefile.cfg: Remove cruft that's now handled via bootstrap.
* Makefile.maint: Likewise, remove these targets/rules/variables:
(local_updates, update, cvs-update, wget_files, get-targets): Remove.
diff --git a/src/pinky.c b/src/pinky.c
index ab52705e4..25feef35e 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -30,6 +30,7 @@
#include "hard-locale.h"
#include "inttostr.h"
#include "readutmp.h"
+#include "stat-macros.h"
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pinky"
@@ -40,10 +41,6 @@
# define MAXHOSTNAMELEN 64
#endif
-#ifndef S_IWGRP
-# define S_IWGRP 020
-#endif
-
char *ttyname ();
/* The name this program was run with. */