[gnu.emacs.bug] An USG bug in movemail.c in emacs 18.54

jkp@SAUNA.HUT.FI (Jyrki Kuoppala) (06/12/89)

F_OK, R_OK are not defined on some USG systems (at least Altos 3068
running USG2.2.  So, you need to define them manually.  Here's a
context diff to etc/movemail.c.

//Jyrki

*** /u2/tmp/movemail.c	Mon Jun 12 03:36:20 1989
--- /u2/gnu/dist-18.54/etc/movemail.c	Mon Jun 12 01:47:21 1989
***************
*** 46,51 ****
--- 46,57 ----
  #ifdef USG
  #include <fcntl.h>
  #include <unistd.h>
+ #ifndef F_OK
+ #define F_OK 0
+ #define X_OK 1
+ #define W_OK 2
+ #define R_OK 4
+ #endif
  #endif /* USG */
  
  #ifdef XENIX