tags 624935 patch
thanks

Hello,

Here's a patch that was used to fix it in Ubuntu.
https://launchpad.net/ubuntu/+source/ns2/2.35~RC6-4ubuntu1

-- 
Ilya Barygin
Description: Add missing header. offsetof is a macro defined in stddef.h.
Author: Ilya Barygin <bary...@gmail.com>
Bug-Debian: http://bugs.debian.org/624935
Bug-Ubuntu: https://launchpad.net/bugs/771094
--- ns2-2.35~RC6.orig/mac/mac-802_11Ext.h
+++ ns2-2.35~RC6/mac/mac-802_11Ext.h
@@ -57,6 +57,7 @@
  
 #ifndef ns_mac_80211Ext_h
 #define ns_mac_80211Ext_h
+#include <cstddef>
 #include "marshall.h"
 #include "timer-handler.h"
 #define GET_ETHER_TYPE(x)		GET2BYTE((x))

Reply via email to