summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-12-08 20:49:57 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-12-08 20:49:57 +0000
commita2b5dfc5d5607614fa951511149eb4831a8f58c4 (patch)
treeb30577bbf386ba7d86e73c81282f7d37fc2c1b20 /src
parent3e0db7129ef4c1fc3e869e652b259eb4a556e7d9 (diff)
Added #ifdef's for OpenBSD and NetBSD...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/filename_list.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filename_list.cxx b/src/filename_list.cxx
index 9392ce29c..de92dcf74 100644
--- a/src/filename_list.cxx
+++ b/src/filename_list.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: filename_list.cxx,v 1.10.2.1 1999/09/15 15:18:12 mike Exp $"
+// "$Id: filename_list.cxx,v 1.10.2.2 1999/12/08 20:49:57 mike Exp $"
//
// Filename list routines for the Fast Light Tool Kit (FLTK).
//
@@ -40,7 +40,7 @@ extern "C" {
}
int filename_list(const char *d, dirent ***list) {
-#if defined(_AIX) || defined(CRAY) || defined(linux) || defined(__FreeBSD__)
+#if defined(_AIX) || defined(CRAY) || defined(linux) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
// on some systems you may need to do this, due to a rather common
// error in the prototype for the sorting function, where a level
// of pointer indirection is missing:
@@ -55,5 +55,5 @@ int filename_list(const char *d, dirent ***list) {
}
//
-// End of "$Id: filename_list.cxx,v 1.10.2.1 1999/09/15 15:18:12 mike Exp $".
+// End of "$Id: filename_list.cxx,v 1.10.2.2 1999/12/08 20:49:57 mike Exp $".
//