diff --git a/NEWS b/NEWS
index 1ba1e0495..33042d8a7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 ver 0.21.1 (not yet released)
 * decoder
   - ffmpeg: fix build failure with non-standard FFmpeg installation path
+* fix build failure on Linux-PowerPC
 
 ver 0.21 (2018/10/31)
 * configuration
diff --git a/src/system/FileDescriptor.cxx b/src/system/FileDescriptor.cxx
index f2516b872..719812294 100644
--- a/src/system/FileDescriptor.cxx
+++ b/src/system/FileDescriptor.cxx
@@ -76,7 +76,7 @@ FileDescriptor::IsSocket() const noexcept
 
 #endif
 
-#ifdef __linux
+#ifdef __linux__
 
 bool
 FileDescriptor::Open(FileDescriptor dir, const char *pathname,
diff --git a/src/system/FileDescriptor.hxx b/src/system/FileDescriptor.hxx
index e3176df60..08d11cc43 100644
--- a/src/system/FileDescriptor.hxx
+++ b/src/system/FileDescriptor.hxx
@@ -116,7 +116,7 @@ public:
 		return FileDescriptor(-1);
 	}
 
-#ifdef __linux
+#ifdef __linux__
 	bool Open(FileDescriptor dir, const char *pathname,
 		  int flags, mode_t mode=0666) noexcept;
 #endif