diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-20 13:48:56 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2011-06-20 13:48:56 -0400 |
commit | 205fb419413275b647cdfc199d05c205c350110b (patch) | |
tree | ee993957ed1528d2487f565311853b121f90211f | |
parent | 1db86ef5ca8ec1507b0df58ecb2be5353e64ab70 (diff) | |
download | ti-rpc-205fb419413275b647cdfc199d05c205c350110b.tar.gz |
Add multiple inclusion protection to rpc/des.h
If you try to include this file multiple times, you get a build failure
due to redefinitions of enums and such.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | tirpc/rpc/des.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tirpc/rpc/des.h b/tirpc/rpc/des.h index e3d6897..d2881ad 100644 --- a/tirpc/rpc/des.h +++ b/tirpc/rpc/des.h @@ -33,6 +33,9 @@ * Copyright (c) 1986 by Sun Microsystems, Inc. */ +#ifndef _RPC_DES_H_ +#define _RPC_DES_H_ + #define DES_MAXLEN 65536 /* maximum # of bytes to encrypt */ #define DES_QUICKLEN 16 /* maximum # of bytes to encrypt quickly */ @@ -80,3 +83,5 @@ struct desparams { * Software DES. */ extern int _des_crypt( char *, int, struct desparams * ); + +#endif |