From f9bb21ad7d4adf3fb6e8010d0bcbbe65cfc857a6 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 28 Nov 2012 19:26:54 -0800 Subject: [PATCH] Add ifndef's to protect libnfs-raw.h from being included multiple times --- include/libnfs-raw.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.34.1