From f5fc7a0a2929ebd5966f8f3b0707c237b80d3205 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 25 Feb 2017 16:39:57 -0600 Subject: [PATCH] C files that reference ANIOC_TRIGGER now need to include nuttx/analog/ioctl.h --- examples/adc/adc_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/adc/adc_main.c b/examples/adc/adc_main.c index d8cb48df6..38d5d3fb1 100644 --- a/examples/adc/adc_main.c +++ b/examples/adc/adc_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/adc/adc_main.c * - * Copyright (C) 2011-2012, 2015 Gregory Nutt. All rights reserved. + * Copyright (C) 2011-2012, 2015, 2017 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -51,6 +51,7 @@ #include #include +#include #include "adc.h"