commit | b3d5054d1023e3fe1eb757b1ca0dd2abcfd372ae | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Wed Apr 23 14:28:55 2014 -0500 |
committer | Brian Silverman <brians> | Wed Apr 23 14:28:55 2014 -0500 |
tree | e276be6bbebd57bf3e5135c9946ac025c956dc3a | |
parent | a29ebf900cec0dacd1cb27f4f075ebf5257f0df6 [diff] [blame] |
unbroke the crio build by converting it to build.py
diff --git a/aos/common/util/inet_addr.cc b/aos/common/util/inet_addr.cc index f202f6e..48bde1d 100644 --- a/aos/common/util/inet_addr.cc +++ b/aos/common/util/inet_addr.cc
@@ -3,9 +3,17 @@ #include <stdlib.h> #ifndef __VXWORKS__ #include <string.h> -#endif #include "aos/common/byteorder.h" +#else + +template<typename T> +T hton(T); + +template<uint32_t> +uint32_t hton(uint32_t v) { return v; } + +#endif namespace aos { namespace util {