summaryrefslogtreecommitdiffstats
path: root/src/include/dns.h
diff options
context:
space:
mode:
authorMichael Brown2005-05-24 01:47:54 +0200
committerMichael Brown2005-05-24 01:47:54 +0200
commit7b423c098838fb4b972ac888ac6f94efda951765 (patch)
treec55dbb81000afe6e556caf9004ff830116117c36 /src/include/dns.h
parentSplit PXE code into preboot, udp, tftp, undi and loader units. (diff)
downloadipxe-7b423c098838fb4b972ac888ac6f94efda951765.tar.gz
ipxe-7b423c098838fb4b972ac888ac6f94efda951765.tar.xz
ipxe-7b423c098838fb4b972ac888ac6f94efda951765.zip
Fixes for gcc >= 3.2 from Georg Baum
Diffstat (limited to 'src/include/dns.h')
-rw-r--r--src/include/dns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/dns.h b/src/include/dns.h
index 5b8b81f1..33ee73fe 100644
--- a/src/include/dns.h
+++ b/src/include/dns.h
@@ -70,12 +70,12 @@ struct dns_rr_info {
} __attribute__ (( packed ));
struct dns_rr_info_a {
- struct dns_rr_info;
+ struct dns_rr_info info;
struct in_addr in_addr;
} __attribute__ (( packed ));
struct dns_rr_info_cname {
- struct dns_rr_info;
+ struct dns_rr_info info;
char cname[0];
} __attribute__ (( packed ));