X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsession.h;h=0b91a03e5d62e5c921540c4fb92862e44b08b41a;hb=c0d579b8423ef278c204b6db60615c88eea9c870;hp=0047db6646ffe5042b7ab9389211e65db58d12c2;hpb=2883dd07101bf851e2ea368f0c04c91aea85cff2;p=ppp.git diff --git a/pppd/session.h b/pppd/session.h index 0047db6..0b91a03 100644 --- a/pppd/session.h +++ b/pppd/session.h @@ -27,10 +27,10 @@ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "pppdconf.h" +#ifndef PPP_SESSION_H +#define PPP_SESSION_H -#ifndef __SESSION_H -#define __SESSION_H +#include "pppdconf.h" #define SESS_AUTH 1 /* Check User Authentication */ #define SESS_ACCT 2 /* Check Account Validity */ @@ -89,4 +89,4 @@ session_start(const int flags, const char* user, const char* passwd, const char* void session_end(const char* tty); -#endif +#endif // PPP_SESSION_H