blob: d37a2526ff04912aca97b10e58e6f764cbe88694 [file] [log] [blame]
//===-- GetOpt.h ------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#pragma once
#if !defined(_MSC_VER) && !defined(__NetBSD__)
#ifdef _WIN32
#define _BSD_SOURCE // Required so that getopt.h defines optreset
#endif
#include <getopt.h>
#include <unistd.h>
#else
#include <lldb/Host/common/GetOptInc.h>
#endif