gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10812: only include inet.h if on a


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10812: only include inet.h if on a POSIX os, unlike win32.
Date: Mon, 20 Apr 2009 13:58:32 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10812
committer: address@hidden
branch nick: trunk
timestamp: Mon 2009-04-20 13:58:32 -0600
message:
  only include inet.h if on a POSIX os, unlike win32.
modified:
  libamf/amf_msg.cpp
=== modified file 'libamf/amf_msg.cpp'
--- a/libamf/amf_msg.cpp        2009-04-10 20:20:02 +0000
+++ b/libamf/amf_msg.cpp        2009-04-20 19:58:32 +0000
@@ -28,7 +28,10 @@
 #include <boost/shared_ptr.hpp>
 #include <string>
 #include <boost/cstdint.hpp> // For C99 int types
+
+#if !defined(HAVE_WINSOCK_H) || defined(__OS2__)
 #include <arpa/inet.h> // for htons
+#endif
 
 using namespace std;
 using namespace gnash;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]