C files that reference ANIOC_TRIGGER now need to include nuttx/analog/ioctl.h
/****************************************************************************
* 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 <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
#include <debug.h>
#include <nuttx/analog/adc.h>
+#include <nuttx/analog/ioctl.h>
#include "adc.h"
