summaryrefslogtreecommitdiff
path: root/elsie.nci.nih.gov/src/private.h
diff options
context:
space:
mode:
Diffstat (limited to 'elsie.nci.nih.gov/src/private.h')
-rw-r--r--elsie.nci.nih.gov/src/private.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/elsie.nci.nih.gov/src/private.h b/elsie.nci.nih.gov/src/private.h
index e7f5255..efa1bdf 100644
--- a/elsie.nci.nih.gov/src/private.h
+++ b/elsie.nci.nih.gov/src/private.h
@@ -101,11 +101,19 @@
#include "sys/types.h" /* for time_t */
#include "stdio.h"
-#include "errno.h"
#include "string.h"
#include "limits.h" /* for CHAR_BIT et al. */
#include "stdlib.h"
+#include "errno.h"
+
+#ifndef ENAMETOOLONG
+# define ENAMETOOLONG EINVAL
+#endif
+#ifndef EOVERFLOW
+# define EOVERFLOW EINVAL
+#endif
+
#if HAVE_GETTEXT
#include "libintl.h"
#endif /* HAVE_GETTEXT */