aboutsummaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2011-01-17 14:14:18 +0000
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 14:23:52 -0700
commit622966ea3a817623f0a88300c89cc1fccdd636cb (patch)
treebdc542df5299b5028c8a01560066b11cbd7d5cbb /ubuntu
parent97ba6e4be0b8ae868a616c90c940ef59a2d1bea4 (diff)
UBUNTU: ubuntu: ndiswrapper -- fix interaction between __packed and packed
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/ndiswrapper/pe_linker.h2
-rw-r--r--ubuntu/ndiswrapper/winnt_types.h2
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;