summaryrefslogtreecommitdiff
path: root/devel/cvsnt/files/patch-diff-diff.c
blob: 59a64c39c79efc4a557ce961b430486203e2d899 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- diff/diff.c.orig	Sun Feb 22 04:47:45 2004
+++ diff/diff.c	Sun Feb 22 04:56:06 2004
@@ -19,6 +19,7 @@
    Richard Stallman, Len Tower, and Paul Eggert.  */
 
 #define GDIFF_MAIN
+#include "config.h"
 #include "diff.h"
 #include <signal.h>
 #include "getopt1.h"
@@ -29,9 +30,6 @@
 #endif
 
 #ifdef HAVE_UNISTD_H
-#ifndef _XOPEN_SOURCE
-#define _XOPEN_SOURCE /* Required for snprinf on GNU */
-#endif
 #define __EXTENSIONS__ /* Solaris fix */
 #include <unistd.h>
 #endif