2013-09-26 17:14:40 +02:00

20 lines
425 B
Plaintext

$NetBSD: patch-ae,v 1.4 2006/10/13 16:39:13 drochner Exp $
--- src/exec/dpexec/loader.c.orig 2005-12-26 22:52:26.000000000 +0100
+++ src/exec/dpexec/loader.c
@@ -38,12 +38,10 @@
#include <stdio.h>
#include <stdlib.h>
-#if defined(HAVE_SYS_ERRNO_H)
-#include <sys/errno.h>
-#endif
-
#if defined(HAVE_ERRNO_H)
#include <errno.h>
+#elif defined(HAVE_SYS_ERRNO_H)
+#include <sys/errno.h>
#endif
#include <sys/stat.h>