summaryrefslogtreecommitdiff
path: root/graphics/truevision/files/patch-src__povfe.cc
blob: befe9affcfd238fb6dca80e81a6a2924acaea308 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/povfe.cc.orig	Tue Oct  4 04:24:37 2005
+++ src/povfe.cc	Tue Oct 18 19:11:46 2005
@@ -36,6 +36,10 @@
 #include "include/scene.h"
 #include "include/tvio.h"
 
+#if defined(__FreeBSD__)
+  #define O_SYNC O_FSYNC
+#endif
+
 // Output file format definitions
 const int file_type_num = 4;
 const char *file_type_list[file_type_num] = { "PNG", "PPM", "TGA", "TGA+RLE" };