Permalink
Browse files

Add ifndef's to protect libnfs-raw.h from being included multiple times

  • Loading branch information...
1 parent 717cc58 commit f9bb21ad7d4adf3fb6e8010d0bcbbe65cfc857a6 @sahlberg committed Nov 29, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 include/libnfs-raw.h
View
5 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 <stdint.h>
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

0 comments on commit f9bb21a

Please sign in to comment.