e1000: Rename the SEC symbol to SEQEC
commit757704f1b7bffd441101bdab0bbcff27cd11ab34
authorKamil Rytarowski <n54@gmx.com>
Sun, 3 Sep 2017 16:37:26 +0000 (3 18:37 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 8 Sep 2017 00:17:37 +0000 (8 08:17 +0800)
treeee9347f4d96ebe65f46e5f105ba6c214fa8fcbaa
parent0522a959aec29768610900636f6234ab40530f82
e1000: Rename the SEC symbol to SEQEC

SunOS defines SEC in <sys/time.h> as 1 (commonly used time symbols).

This fixes build on SmartOS (Joyent).

Patch cherry-picked from pkgsrc by jperkin (Joyent).

Signed-off-by: Kamil Rytarowski <n54@gmx.com>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000.c
hw/net/e1000_regs.h
hw/net/e1000e_core.c
hw/net/e1000x_common.h