From: Ronnie Sahlberg Date: Thu, 29 Nov 2012 03:26:54 +0000 (-0800) Subject: Add ifndef's to protect libnfs-raw.h from being included multiple times X-Git-Tag: upstream/1.9.6^2~239 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f9bb21ad7d4adf3fb6e8010d0bcbbe65cfc857a6;p=deb_libnfs.git Add ifndef's to protect libnfs-raw.h from being included multiple times --- diff --git a/include/libnfs-raw.h b/include/libnfs-raw.h index b227506..8503e0b 100644 --- a/include/libnfs-raw.h +++ b/include/libnfs-raw.h @@ -19,6 +19,9 @@ * Through this interface you have access to the full gamut of nfs and nfs related * protocol as well as the XDR encoded/decoded structures. */ +#ifndef _LIBNFS_RAW_H_ +#define _LIBNFS_RAW_H_ + #include struct rpc_data { @@ -914,3 +917,5 @@ int rpc_nlm4_cancel_async(struct rpc_context *rpc, rpc_cb cb, struct NLM4_CANCar */ struct NLM4_UNLOCKargs; int rpc_nlm4_unlock_async(struct rpc_context *rpc, rpc_cb cb, struct NLM4_UNLOCKargs *args, void *private_data); + +#endif