Skip to content

Commit

Permalink
#include <csdtint> to define uint8_t early
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Marks committed Feb 10, 2024
1 parent 7a0cda7 commit 3ddb986
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Common/DtaOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ along with sedutil. If not, see <http://www.gnu.org/licenses/>.

#ifndef _DTAOPTIONS_H
#define _DTAOPTIONS_H
#include <cstdint>

/** Output modes */
typedef enum _sedutiloutput {
Expand Down Expand Up @@ -48,7 +49,7 @@ typedef struct _DTA_OPTIONS {
/** Print a usage message */
void usage();
/** Parse the command line and return a structure that describes the action desired
* @param argc program argc parameter
* @param argc program argc parameter
* @param argv program argv paramater
* @param opts pointer to options structure to be filled out
*/
Expand Down Expand Up @@ -126,6 +127,6 @@ i++;

/** set the argc value for this parameter in the options structure */
#define OPTION_IS(option_field) \
opts->option_field = ++i;
opts->option_field = ++i;

#endif /* _DTAOPTIONS_H */

0 comments on commit 3ddb986

Please sign in to comment.