From: Oliver Kurth Date: Wed, 29 Aug 2018 20:29:43 +0000 (-0700) Subject: Common header file not directly applicable to open-vm-tools. X-Git-Tag: stable-11.0.0~447 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e86d0f86d91d6ffd87345c5c76053361d56c19b;p=thirdparty%2Fopen-vm-tools.git Common header file not directly applicable to open-vm-tools. --- diff --git a/open-vm-tools/services/plugins/dndcp/dnd/dndClipboard.h b/open-vm-tools/services/plugins/dndcp/dnd/dndClipboard.h index 23a7d6533..30d715623 100644 --- a/open-vm-tools/services/plugins/dndcp/dnd/dndClipboard.h +++ b/open-vm-tools/services/plugins/dndcp/dnd/dndClipboard.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2007-2017 VMware, Inc. All rights reserved. + * Copyright (C) 2007-2018 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -39,6 +39,10 @@ #include "dnd.h" #include "dynbuf.h" +#if defined(__cplusplus) +extern "C" { +#endif + /* * Make sure each clipboard item is at most 64kb - 100 b. This limitation is * copied from the current text copy paste limit. @@ -136,4 +140,8 @@ Bool CPClipboard_Serialize(const CPClipboard *clip, DynBuf *buf); Bool CPClipboard_Unserialize(CPClipboard *clip, const void *buf, size_t len); Bool CPClipboard_Strip(CPClipboard *clip, uint32 caps); +#if defined(__cplusplus) +} // extern "C" +#endif + #endif // _DND_CLIPBOARD_H_