Merge pull request #612 from proski/includes

Use <> for system includes, move system includes above local ones
This commit is contained in:
jsorg71 2017-01-05 16:01:52 -08:00 committed by GitHub
commit 15a24ff1c4
3 changed files with 5 additions and 4 deletions

View File

@ -24,9 +24,10 @@
* *
*/ */
#include <grp.h>
#include "list.h" #include "list.h"
#include "sesman.h" #include "sesman.h"
#include "grp.h"
#include "ssl_calls.h" #include "ssl_calls.h"
extern unsigned char g_fixedkey[8]; /* in sesman.c */ extern unsigned char g_fixedkey[8]; /* in sesman.c */

View File

@ -24,9 +24,9 @@
* *
*/ */
#include "sesman.h" #include <signal.h>
#include "signal.h" #include "sesman.h"
extern int g_sck; extern int g_sck;
extern int g_pid; extern int g_pid;

View File

@ -29,7 +29,7 @@
#ifndef USE_NOPAM #ifndef USE_NOPAM
#if defined(HAVE__PAM_TYPES_H) #if defined(HAVE__PAM_TYPES_H)
#define LINUXPAM 1 #define LINUXPAM 1
#include "security/_pam_types.h" #include <security/_pam_types.h>
#elif defined(HAVE_PAM_CONSTANTS_H) #elif defined(HAVE_PAM_CONSTANTS_H)
#define OPENPAM 1 #define OPENPAM 1
#include <security/pam_constants.h> #include <security/pam_constants.h>