]> granicus.if.org Git - transmission/commitdiff
add an #include guard to keep tr-lpd.h package-visible
authorCharles Kerr <charles@transmissionbt.com>
Thu, 23 Sep 2010 13:29:41 +0000 (13:29 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Thu, 23 Sep 2010 13:29:41 +0000 (13:29 +0000)
libtransmission/tr-lpd.h

index 3d546d8bdc4b60a905409198abcb2b04e4e5c203..b279ed8b0354406134264d9a60b6344f7d80a662 100644 (file)
@@ -20,6 +20,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 */
 
+#ifndef __TRANSMISSION__
+ #error only libtransmission should #include this header.
+#endif
+
 #ifndef _TR_LPD_H
 #define _TR_LPD_H