aboutsummaryrefslogtreecommitdiff
path: root/editors/offix-editor/files/patch-src-file_sel.c
blob: 1a86f5f81f362cf7b3ff8d4508494ba49886ca7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/file_sel.c.orig	Sun Sep 29 02:36:26 2002
+++ src/file_sel.c	Sun Sep 29 02:36:40 2002
@@ -86,10 +86,12 @@
 #include <stdlib.h>
 #include <unistd.h>
 
+#ifndef __FreeBSD__
 extern char *malloc();
 extern char *realloc();
 extern char *getenv();                    /* Lesen der Umgebungsvariablen */
 extern int chdir();                       /* Directorywechsel */
+#endif
 static char *filename;                    /* Pointer auf Filename */
 static Widget file_s;                     /* Popupshell fuer Fileselectbox */
 static Widget list_direct,                /* Directoryeintraege im Fenster */