Browse Source

Add stdint.h to types.h to provide intptr_t.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1765 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.2.0
zwelch 15 years ago
parent
commit
46d13ccc3b
2 changed files with 3 additions and 1 deletions
  1. +3
    -0
      src/helper/types.h
  2. +0
    -1
      src/jtag/rlink/rlink.c

+ 3
- 0
src/helper/types.h View File

@@ -26,6 +26,9 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif

#ifndef u8
typedef unsigned char u8;


+ 0
- 1
src/jtag/rlink/rlink.c View File

@@ -36,7 +36,6 @@

/* system includes */
#include <usb.h>
#include <stdint.h>


/* This feature is made useless by running the DTC all the time. When automatic, the LED is on whenever the DTC is running. Otherwise, USB messages are sent to turn it on and off. */


Loading…
Cancel
Save