from typing import List


def generate_preamble(definition: str) -> List[str]:
    """Generate header file preamble lines"""
    return [
        f'#ifndef {definition}\n',
        f'#define {definition}\n',
        '\n'
        '#ifdef __cplusplus\n',
        'extern "C" {\n',
        '#endif\n',
        '\n'
    ]