-fix double free, linker issue
[oweals/gnunet.git] / src / include / gnunet_bandwidth_lib.h
index 75f71b32c9b7111b7eb32fd2d0cef17549635345..fabe47bea53e27fb4bb19b32a89061753a736452 100644 (file)
@@ -38,6 +38,8 @@ extern "C"
 #include "gnunet_common.h"
 #include "gnunet_time_lib.h"
 
+GNUNET_NETWORK_STRUCT_BEGIN
+
 /**
  * 32-bit bandwidth used for network exchange by GNUnet, in bytes per second.
  */
@@ -48,7 +50,7 @@ struct GNUNET_BANDWIDTH_Value32NBO
    */
   uint32_t value__ GNUNET_PACKED;
 };
-
+GNUNET_NETWORK_STRUCT_END
 
 /**
  * Struct to track available bandwidth.  Combines a time stamp with a