view nt/inc/pwd.h @ 111094:0c681b288c59

Fix compilation with Motif (Bug#7263). * src/xfns.c: Include Xm/TextF and Xm/List. (file_dialog_cb, file_dialog_unmap_cb, clean_up_file_dialog): Make ANSI prototypes. * src/xmenu.c: Revert 2010-07-27 change: lwlib.h is needed for MOTIF (Bug#7263). * src/xrdb.c: Include keyboard.h for MOTIF.
author Jan D <jan.h.d@swipnet.se>
date Fri, 22 Oct 2010 07:49:47 +0200
parents 06ca3efb355b
children ef719132ddfa
line wrap: on
line source

#ifndef _PWD_H_
#define _PWD_H_
/*
 * pwd.h doesn't exist on NT, so we put together our own.
 */

struct passwd {
    char     *pw_name;
    char     *pw_passwd;
    unsigned  pw_uid;  /* Vista's TrustedInstaller has a very large RID */
    unsigned  pw_gid;
    int       pw_quota;
    char     *pw_gecos;
    char     *pw_dir;
    char     *pw_shell;
};

typedef unsigned uid_t;
typedef uid_t gid_t;

struct passwd * getpwnam (char *);
struct passwd * getpwuid (unsigned);


#endif /* _PWD_H_ */

/* arch-tag: 68308424-cb2b-49ed-bb52-b347fee416bf
   (do not change this comment) */