Added missing include.
Removed some unused includes.
Fixed indentation.
Use wait queue for if conversion.

This fixes opt/ifconv6.c.