diff options
author | Andy Whitcroft <apw@canonical.com> | 2011-01-17 14:14:18 +0000 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-09-23 08:48:03 -0600 |
commit | 83e2734e622f8d4078117a2b3514deb04f2683ca (patch) | |
tree | b39d78941b578a3ec35b42e70022592dc8dd3a1d /ubuntu | |
parent | 2048ccb4f221bcd68d920049ef37c47eb2244e58 (diff) |
UBUNTU: ubuntu: ndiswrapper -- fix interaction between __packed and packed
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/ndiswrapper/pe_linker.h | 2 | ||||
-rw-r--r-- | ubuntu/ndiswrapper/winnt_types.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ubuntu/ndiswrapper/pe_linker.h b/ubuntu/ndiswrapper/pe_linker.h index d582cdbb7c9..e62bc3fb0f1 100644 --- a/ubuntu/ndiswrapper/pe_linker.h +++ b/ubuntu/ndiswrapper/pe_linker.h @@ -691,7 +691,7 @@ typedef PIMAGE_THUNK_DATA64 PIMAGE_THUNK_DATA; /* Import module directory */ -typedef struct packed _IMAGE_IMPORT_DESCRIPTOR { +typedef struct __packed _IMAGE_IMPORT_DESCRIPTOR { union { DWORD Characteristics; /* 0 for terminating null * import descriptor */ diff --git a/ubuntu/ndiswrapper/winnt_types.h b/ubuntu/ndiswrapper/winnt_types.h index 62a8e53eb0f..3ba5bafbb49 100644 --- a/ubuntu/ndiswrapper/winnt_types.h +++ b/ubuntu/ndiswrapper/winnt_types.h @@ -138,7 +138,7 @@ #endif -#define packed __attribute__((packed)) +// #define packed __attribute__((packed)) #define no_warn_unused __attribute__((unused)) typedef u8 BOOLEAN; |