Browse Source

AP_Terrain: fixed build on APM2

master
Andrew Tridgell 11 years ago
parent
commit
0a3aa23619
  1. 5
      libraries/AP_Terrain/AP_Terrain.cpp

5
libraries/AP_Terrain/AP_Terrain.cpp

@ -20,6 +20,9 @@ @@ -20,6 +20,9 @@
#include <GCS_MAVLink.h>
#include <GCS.h>
#include "AP_Terrain.h"
#if HAVE_AP_TERRAIN
#include <assert.h>
#include <stdio.h>
#include <unistd.h>
@ -28,8 +31,6 @@ @@ -28,8 +31,6 @@
#include <fcntl.h>
#include <errno.h>
#if HAVE_AP_TERRAIN
#define TERRAIN_DEBUG 0
extern const AP_HAL::HAL& hal;

Loading…
Cancel
Save