mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Include <sys/types.h> before including <grp.h> so that this doesn't
depend on <stdio.h> bogusly including <sys/types.h> Reordered includes to satisfy KNF rules.
This commit is contained in:
parent
8d00dd680c
commit
884d83ff09
1 changed files with 13 additions and 9 deletions
|
|
@ -35,23 +35,27 @@
|
|||
* Center for Telecommunications Research
|
||||
* Columbia University, New York City
|
||||
*
|
||||
* $Id: mknetid.c,v 1.1.1.1 1996/06/25 20:26:38 wpaul Exp $
|
||||
* $Id: mknetid.c,v 1.2 1996/06/27 05:42:01 wpaul Exp $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <netdb.h>
|
||||
#include <err.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <rpc/rpc.h>
|
||||
#include <rpcsvc/yp_prot.h>
|
||||
#include <rpcsvc/ypclnt.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <netdb.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "hash.h"
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] = "$Id: mknetid.c,v 1.1.1.1 1996/06/25 20:26:38 wpaul Exp $";
|
||||
static const char rcsid[] = "$Id: mknetid.c,v 1.2 1996/06/27 05:42:01 wpaul Exp $";
|
||||
#endif
|
||||
|
||||
#define LINSIZ 1024
|
||||
|
|
|
|||
Loading…
Reference in a new issue