Skip to content

Commit 03cb5d6

Browse files
author
Christian Howe
committed
Include fixes
1 parent 0775a03 commit 03cb5d6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

error.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef ERROR_H
22
#define ERROR_H
33

4+
#include <errno.h>
5+
46
#define ERROR_VAL -1
57
#define SUCCESS_VAL 0
68
#define ERROR (err) { errno = (err); }

main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
#include <stdarg.h>
21
#include <stdlib.h>
32
#include <stdio.h>
4-
#include <string.h>
5-
#include <errno.h>
63

74
#include "dog.h"
85

0 commit comments

Comments
 (0)