X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsession.h;h=0b91a03e5d62e5c921540c4fb92862e44b08b41a;hb=607d8eadccfd62c1fa84a36bd1440bd48b4e55ca;hp=0047db6646ffe5042b7ab9389211e65db58d12c2;hpb=032020241d270c53dff479a7b0eb7fe487c56a78;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