target/riscv: fix compile error with gcc 8.1.1
[fw/openocd] / src / pld / xilinx_bit.h
index 37f1811825459800b5143faca2426b0af38692b6..1a35c3be225df9453ee2802349fe732a34bf59ca 100644 (file)
  *   GNU General Public License for more details.                          *
  *                                                                         *
  *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
-#ifndef XILINX_BIT_H
-#define XILINX_BIT_H
-
-#include <helper/types.h>
+#ifndef OPENOCD_PLD_XILINX_BIT_H
+#define OPENOCD_PLD_XILINX_BIT_H
 
 struct xilinx_bit_file {
        uint8_t unknown_header[13];
@@ -35,4 +31,4 @@ struct xilinx_bit_file {
 
 int xilinx_read_bit_file(struct xilinx_bit_file *bit_file, const char *filename);
 
-#endif /* XILINX_BIT_H */
+#endif /* OPENOCD_PLD_XILINX_BIT_H */